Changeset 13430
- Timestamp:
- May 18, 2007, 4:26:50 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFindPeaks.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFindPeaks.c
r13348 r13430 89 89 // thus, the threshold is: 90 90 float effArea = 4.0*M_PI*PS_SQR(SIGMA_SMTH); 91 if (effArea < 1) { 92 effArea = 1; // never less than a pixel 93 } 91 94 float threshold = PS_SQR(NSIGMA_PEAK) / effArea; 92 95
Note:
See TracChangeset
for help on using the changeset viewer.
