IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2008, 4:03:02 PM (18 years ago)
Author:
Paul Price
Message:

Cleaning up the clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageInterpolate.c

    r18298 r18299  
    77 *  @author Paul Price, IfA
    88 *
    9  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2008-06-24 02:01:55 $
     9 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2008-06-24 02:03:02 $
    1111 *
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    392392        double pos = - (num - 1)/2 - frac;  // Position of interest
    393393        for (int i = 0; i < num; i++, pos += 1.0) {
    394             norm4 += values[i] = norm1 * sin(pos * norm2) * sin(M_PI_2 * pos * norm3) / PS_SQR(pos);
     394            norm4 += values[i] = norm1 * sin(pos * norm2) * sin(pos * norm3) / PS_SQR(pos);
    395395        }
    396396        norm4 = 1.0 / norm4
Note: See TracChangeset for help on using the changeset viewer.