IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2005, 4:20:27 PM (21 years ago)
Author:
eugene
Message:

various cleanups, fixes, additions...

File:
1 edited

Legend:

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

    r5802 r5828  
    3737      rflux   = pow (10.0, 0.4*source->fitMag);
    3838      source->apMag  -= rflux * psf->skyBias * (M_PI * PS_SQR(apRadius));
    39       source->fitMag += psf->ApResid;
     39      source->fitMag += psPolynomial3DEval (psf->ApTrend, x, y, 0.0);
    4040    }
    4141
     
    7070    return (model);
    7171}
     72
     73/*
     74aprMag' - fitMag = rflux*skyBias + ApTrend(x,y)
     75(aprMag - rflux*skyBias) - fitMAg = ApTrend(x,y)
     76(aprMag - rflux*skyBias) = fitMAg + ApTrend(x,y)
     77*/
Note: See TracChangeset for help on using the changeset viewer.