- Timestamp:
- Jan 6, 2009, 7:13:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psphot/src/psphotChoosePSF.c
r20453 r21087 24 24 25 25 // bit-masks to test for good/bad pixels 26 ps MaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT");26 psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); 27 27 assert (maskVal); 28 28 29 29 // bit-mask to mark pixels not used in analysis 30 ps MaskType markVal = psMetadataLookupU8(&status, recipe, "MARK.PSPHOT");30 psImageMaskType markVal = psMetadataLookupImageMask(&status, recipe, "MARK.PSPHOT"); 31 31 assert (markVal); 32 32 … … 258 258 for (int i = 0; i < try->sources->n; i++) { 259 259 pmSource *source = try->sources->data[i]; 260 if (try->mask->data. U8[i]) {260 if (try->mask->data.PS_TYPE_VECTOR_MASK_DATA[i]) { 261 261 source->mode &= ~PM_SOURCE_MODE_PSFSTAR; 262 262 }
Note:
See TracChangeset
for help on using the changeset viewer.
