Changeset 12957 for branches/eam_02_branch/psphot/src/psphotEnsemblePSF.c
- Timestamp:
- Apr 22, 2007, 5:39:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_02_branch/psphot/src/psphotEnsemblePSF.c
r12952 r12957 91 91 92 92 // fill in the model pixel values 93 // XXX this function should just work with the (normalized) modelFlux pixels 94 // XXX we should not have to create a complete copy 95 // XXX review the use of the object mask: can we use a copied mask? 93 96 psImageInit (fitSource->pixels, 0.0); 94 97 psImageKeepCircle (fitSource->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK); 95 pmModelAdd (fitSource->pixels, fitSource->mask, model, PM_MODEL_ ADD_FULL);98 pmModelAdd (fitSource->pixels, fitSource->mask, model, PM_MODEL_OP_FULL); 96 99 97 100 // save source in list … … 218 221 219 222 // subtract object 220 pmModelSub (Ri->pixels, Ri->mask, model, PM_MODEL_ ADD_FULL);223 pmModelSub (Ri->pixels, Ri->mask, model, PM_MODEL_OP_FULL); 221 224 Ri->mode |= PM_SOURCE_MODE_SUBTRACTED; 222 225 if (!final) Ri->mode |= PM_SOURCE_MODE_TEMPSUB;
Note:
See TracChangeset
for help on using the changeset viewer.
