IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2008, 2:59:49 AM (18 years ago)
Author:
eugene
Message:

peak dx,dy not calculated; set to NAN

File:
1 edited

Legend:

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

    r18971 r19903  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2008-08-08 19:41:56 $
     8 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2008-10-06 12:59:49 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5757
    5858    // if min point is too deviant, use the peak value
     59    // XXX need to calculate dx, dy correctly
    5960    if ((fabs(min.x) < 1.5) && (fabs(min.y) < 1.5)) {
    6061        peak->xf = min.x + ix + image->col0;
    6162        peak->yf = min.y + iy + image->row0;
    62         peak->dx = 0.0;
    63         peak->dy = 0.0;
     63        peak->dx = NAN;
     64        peak->dy = NAN;
    6465    } else {
    6566        peak->xf = ix;
    6667        peak->yf = iy;
    67         peak->dx = 1.0;
    68         peak->dy = 1.0;
     68        peak->dx = NAN;
     69        peak->dy = NAN;
    6970    }
    7071
Note: See TracChangeset for help on using the changeset viewer.