IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21175


Ignore:
Timestamp:
Jan 26, 2009, 2:02:36 PM (17 years ago)
Author:
eugene
Message:

pass mask along to pmTrend functions

File:
1 edited

Legend:

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

    r21166 r21175  
    231231
    232232    // construct the fitted values and the residuals
    233     psVector *apResidFit = pmTrend2DEvalVector (psf->ApTrend, xPos, yPos);
     233    psVector *apResidFit = pmTrend2DEvalVector (psf->ApTrend, mask, 0xff, xPos, yPos);
    234234    psVector *apResidRes = (psVector *) psBinaryOp (NULL, (void *) apResid, "-", (void *) apResidFit);
    235235    psVector *dMagSys = (psVector *) psBinaryOp (NULL, (void *) dMag, "*", (void *) psScalarAlloc(errorScale, PS_TYPE_F32));
     
    430430
    431431    // construct the fitted values and the residuals
    432     psVector *apResidFit = pmTrend2DEvalVector (psf->ApTrend, xPos, yPos);
     432    psVector *apResidFit = pmTrend2DEvalVector (psf->ApTrend, mask, 0xff, xPos, yPos);
    433433    psVector *apResidRes = (psVector *) psBinaryOp (NULL, (void *) apResid, "-", (void *) apResidFit);
    434434
Note: See TracChangeset for help on using the changeset viewer.