Changeset 19903
- Timestamp:
- Oct 6, 2008, 2:59:49 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmPeaks.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmPeaks.c
r18971 r19903 6 6 * @author EAM, IfA: significant modifications. 7 7 * 8 * @version $Revision: 1.2 2$ $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 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 58 58 // if min point is too deviant, use the peak value 59 // XXX need to calculate dx, dy correctly 59 60 if ((fabs(min.x) < 1.5) && (fabs(min.y) < 1.5)) { 60 61 peak->xf = min.x + ix + image->col0; 61 62 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; 64 65 } else { 65 66 peak->xf = ix; 66 67 peak->yf = iy; 67 peak->dx = 1.0;68 peak->dy = 1.0;68 peak->dx = NAN; 69 peak->dy = NAN; 69 70 } 70 71
Note:
See TracChangeset
for help on using the changeset viewer.
