- Timestamp:
- Jun 21, 2012, 6:51:32 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psphot/src/psphotSignificanceImage.c
r31154 r34051 8 8 float SIGMA_SMTH, NSIGMA_SMTH; 9 9 bool status = false; 10 bool guess = false;11 10 12 11 // smooth the image and variance map … … 35 34 SIGMA_SMTH = 0.5*(fwhmMajor + fwhmMinor) / (2.0*sqrt(2.0*log(2.0))); 36 35 NSIGMA_SMTH = psMetadataLookupF32 (&status, recipe, "PEAKS_SMOOTH_NSIGMA"); 37 guess = false;38 36 } else { 39 37 // if we do not know the FWHM, use the guess smoothing kernel supplied. … … 43 41 NSIGMA_SMTH = psMetadataLookupF32 (&status, recipe, "PEAKS_SMOOTH_NSIGMA"); 44 42 PS_ASSERT (status, NULL); 45 guess = true;46 43 } 47 44 // record the actual smoothing sigma
Note:
See TracChangeset
for help on using the changeset viewer.
