Changeset 20453 for trunk/psphot/src/psphotSignificanceImage.c
- Timestamp:
- Oct 28, 2008, 3:05:05 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSignificanceImage.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSignificanceImage.c
r20286 r20453 11 11 12 12 // smooth the image and weight map 13 psTimerStart (" smooth");13 psTimerStart ("psphot.smooth"); 14 14 15 15 // XXX we can a) choose fft to convolve if needed and b) multithread fftw … … 45 45 psImage *smooth_im = psImageCopy(NULL, readout->image, PS_TYPE_F32); 46 46 psImageSmoothMask(smooth_im, smooth_im, readout->mask, maskVal, SIGMA_SMTH, NSIGMA_SMTH, minGauss); 47 psLogMsg("psphot", PS_LOG_MINUTIA, "smooth image: %f sec\n", psTimerMark(" smooth"));47 psLogMsg("psphot", PS_LOG_MINUTIA, "smooth image: %f sec\n", psTimerMark("psphot.smooth")); 48 48 49 49 // Smooth the weight, applying the mask as we go. The variance is smoothed by the PSF^2, … … 57 57 psImageSmoothMask(smooth_wt, smooth_wt, readout->mask, maskVal, SIGMA_SMTH * M_SQRT1_2, 58 58 NSIGMA_SMTH, minGauss); 59 psLogMsg("psphot", PS_LOG_MINUTIA, "smooth weight: %f sec\n", psTimerMark(" smooth"));59 psLogMsg("psphot", PS_LOG_MINUTIA, "smooth weight: %f sec\n", psTimerMark("psphot.smooth")); 60 60 61 61 psImage *mask = readout->mask; … … 116 116 } 117 117 } 118 psLogMsg ("psphot", PS_LOG_INFO, "built smoothed signficance image: %f sec\n", psTimerMark(" smooth"));118 psLogMsg ("psphot", PS_LOG_INFO, "built smoothed signficance image: %f sec\n", psTimerMark("psphot.smooth")); 119 119 120 120 // optionally save example images under trace
Note:
See TracChangeset
for help on using the changeset viewer.
