IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 10:25:50 AM (18 years ago)
Author:
eugene
Message:

re-org and cleanup of the mask bits to make it consistent with the pmConfigMaskSetBits concepts; ensure mark and mask are correctly used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotPSFConvModel.c

    r17396 r18555  
    99// modelConv to contain the fitted parameters, and the modelFlux to contain the
    1010// convolved model image.
    11 pmModel *psphotPSFConvModel (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal, int psfSize) {
     11pmModel *psphotPSFConvModel (pmReadout *readout, pmSource *source, pmModelType modelType, psMaskType maskVal, psMaskType markVal, int psfSize) {
    1212   
     13    // maskVal is used to test for rejected pixels, and must include markVal
     14    maskVal |= markVal;
     15
    1316    // make sure we save a cached copy of the psf flux
    1417    pmSourceCachePSF (source, maskVal);
     
    6568    psVector *dparams = modelConv->dparams;
    6669
    67     psphotCheckRadiusEXT (readout, source, modelConv);
     70    psphotCheckRadiusEXT (readout, source, modelConv, markVal);
    6871
    6972    // create the minimization constraints
Note: See TracChangeset for help on using the changeset viewer.