IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21446


Ignore:
Timestamp:
Feb 11, 2009, 6:41:17 PM (17 years ago)
Author:
eugene
Message:

adding errors to peak position

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20090208/psModules/src/objects/pmPeaks.c

    r20937 r21446  
    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.25.12.1 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2009-02-12 04:41:17 $
    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.