IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13003


Ignore:
Timestamp:
Apr 24, 2007, 12:42:35 PM (19 years ago)
Author:
eugene
Message:

force only function to be subtracted when building residuals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psphot/src/psphotMakeResiduals.c

    r12978 r13003  
    8282        // are masked.  Thus, we use the maskView, NOT the maskObj image.
    8383        psImage *mask   = psImageCopy (NULL, source->maskView, PS_TYPE_U8);
    84         pmModelSub (image, mask, model, PM_MODEL_OP_FULL);
     84        pmModelSub (image, mask, model, PM_MODEL_OP_FUNC);
    8585       
    8686        // re-normalize image and weight
     
    256256# endif
    257257
     258    psLogMsg ("psphot.pspsf", PS_LOG_INFO, "generate residuals for %ld objects: %f sec\n", input->n, psTimerMark ("residuals"));
     259
    258260    psFree (xC);
    259261    psFree (yC);
     
    275277    psphotSaveImage (NULL, resid->mask,   "resid.mk.fits");
    276278
    277     psLogMsg ("psphot.pspsf", PS_LOG_INFO, "generate residuals for %ld objects: %f sec\n", input->n, psTimerMark ("residuals"));
    278 
    279279    psf->residuals = resid;
    280280    return true;
Note: See TracChangeset for help on using the changeset viewer.