Changeset 13003
- Timestamp:
- Apr 24, 2007, 12:42:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_02_branch/psphot/src/psphotMakeResiduals.c
r12978 r13003 82 82 // are masked. Thus, we use the maskView, NOT the maskObj image. 83 83 psImage *mask = psImageCopy (NULL, source->maskView, PS_TYPE_U8); 84 pmModelSub (image, mask, model, PM_MODEL_OP_FU LL);84 pmModelSub (image, mask, model, PM_MODEL_OP_FUNC); 85 85 86 86 // re-normalize image and weight … … 256 256 # endif 257 257 258 psLogMsg ("psphot.pspsf", PS_LOG_INFO, "generate residuals for %ld objects: %f sec\n", input->n, psTimerMark ("residuals")); 259 258 260 psFree (xC); 259 261 psFree (yC); … … 275 277 psphotSaveImage (NULL, resid->mask, "resid.mk.fits"); 276 278 277 psLogMsg ("psphot.pspsf", PS_LOG_INFO, "generate residuals for %ld objects: %f sec\n", input->n, psTimerMark ("residuals"));278 279 279 psf->residuals = resid; 280 280 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
