IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21514


Ignore:
Timestamp:
Feb 16, 2009, 12:30:14 PM (17 years ago)
Author:
eugene
Message:

add corrected errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPeaks.c

    r20937 r21514  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2008-12-08 02:51:14 $
     8 *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-16 22:30:14 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6363        peak->xf = min.x + ix + image->col0;
    6464        peak->yf = min.y + iy + image->row0;
    65         peak->dx = NAN;
    66         peak->dy = NAN;
     65
     66        // These errors are fractional errors, and should be scaled by the
     67        // error on the peak pixel (see, eg, psphotFindPeaks)
     68        peak->dx = min.xErr;
     69        peak->dy = min.yErr;
    6770       
    6871        // xf,yf must land on image with 0 pixel border
Note: See TracChangeset for help on using the changeset viewer.