Changeset 23306
- Timestamp:
- Mar 12, 2009, 2:26:59 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMaskReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMaskReadout.c
r21366 r23306 29 29 } 30 30 31 // make this an option via the recipe 32 if (0) { 33 psImage *im = readout->image; 34 psImage *wt = readout->variance; 35 psImage *mk = readout->mask; 36 for (int j = 0; j < im->numRows; j++) { 37 for (int i = 0; i < im->numCols; i++) { 38 if (isfinite(im->data.F32[j][i]) && isfinite(wt->data.F32[j][i])) continue; 39 mk->data.PS_TYPE_IMAGE_MASK_DATA[j][i] |= maskBad; 40 } 41 } 42 } 43 31 44 // mask the excluded outer pixels 32 45 // these coordinates refer to the parent image
Note:
See TracChangeset
for help on using the changeset viewer.
