Changeset 21183 for trunk/psphot/src/psphotSignificanceImage.c
- Timestamp:
- Jan 26, 2009, 8:40:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSignificanceImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSignificanceImage.c
r20829 r21183 4 4 // (S/N)^2. If FWMH_X,Y have been recorded, use them, otherwise use PEAKS_SMOOTH_SIGMA for the 5 5 // smoothing kernel. 6 psImage *psphotSignificanceImage (pmReadout *readout, psMetadata *recipe, const int pass, ps MaskType maskVal) {6 psImage *psphotSignificanceImage (pmReadout *readout, psMetadata *recipe, const int pass, psImageMaskType maskVal) { 7 7 8 8 float SIGMA_SMTH, NSIGMA_SMTH; … … 110 110 for (int i = 0; i < smooth_im->numCols; i++) { 111 111 float value = smooth_im->data.F32[j][i]; 112 if (value < 0 || smooth_wt->data.F32[j][i] <= 0 || (mask->data. U8[j][i] & maskVal)) {112 if (value < 0 || smooth_wt->data.F32[j][i] <= 0 || (mask->data.PS_TYPE_IMAGE_MASK_DATA[j][i] & maskVal)) { 113 113 smooth_im->data.F32[j][i] = 0.0; 114 114 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
