IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5811


Ignore:
Timestamp:
Dec 18, 2005, 4:10:57 PM (21 years ago)
Author:
magnier
Message:

ApTrend(rflux) term moved to skyBias entry (applies to apmag, not fitmag)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_b0/psModules/src/objects/pmPSFtry.c

    r5807 r5811  
    196196    stats->clipIter = 3;
    197197
     198    // fit ApResid only to rflux, ignore x,y variations for now
    198199    // linear clipped fit of ApResid to rflux
    199200    psPolynomial1D *poly = psPolynomial1DAlloc (1, PS_POLYNOMIAL_ORD);
     
    202203
    203204    psfTry->psf->ApTrend->coeff[0][0][0] = poly->coeff[0];
    204     psfTry->psf->ApTrend->coeff[0][0][1] = poly->coeff[1];
     205    psfTry->psf->ApTrend->coeff[0][0][1] = 0;
    205206
    206207    psfTry->psf->skyBias  = poly->coeff[1] / (M_PI * PS_SQR(RADIUS));
     
    214215    return true;
    215216}
     217
     218/*
     219  (aprMag' - fitMag) = rflux*skyBias + ApTrend(x,y)
     220  (aprMag - rflux*skyBias) - fitMag = ApTrend(x,y)
     221  (aprMag - rflux*skyBias) = fitMag + ApTrend(x,y)
     222*/
     223
Note: See TracChangeset for help on using the changeset viewer.