Changeset 13035 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Apr 25, 2007, 3:35:50 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r13011 r13035 239 239 240 240 // set the mask and subtract the PSF model 241 psImageKeepCircle (source->mask, x, y, RADIUS, "OR", PM_MASK_MARK); 242 pmModelSub (source->pixels, source->mask, source->modelPSF, false, false); 243 psImageKeepCircle (source->mask, x, y, RADIUS, "AND", PS_NOT_U8(PM_MASK_MARK)); 241 // XXX should we be using maskObj? should we be unsetting the mask? 242 // use pmModelSub because modelFlux has not been generated 243 assert (source->maskObj); 244 psImageKeepCircle (source->maskObj, x, y, RADIUS, "OR", PM_MASK_MARK); 245 pmModelSub (source->pixels, source->maskObj, source->modelPSF, PM_MODEL_OP_FULL); 246 psImageKeepCircle (source->maskObj, x, y, RADIUS, "AND", PS_NOT_U8(PM_MASK_MARK)); 244 247 } 245 248
Note:
See TracChangeset
for help on using the changeset viewer.
