- Timestamp:
- Jan 6, 2009, 7:13:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psphot/src/psphotSignificanceImage.c
r21072 r21087 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.
