IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 2:04:53 PM (5 years ago)
Author:
eugene
Message:

I have stripped out all flatcorr references : flat correction is applied by setphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/src/MagResidSave.c

    r41603 r41606  
    235235    // the flat-correction.  NOTE the sign of Mflat (Image.Mcal = Measure.Mcal - Mflat)
    236236
    237     // float Mflat = getMflat (m, c, flatcorr, catalog);
     237    float Mflat = getMflat (m, c, catalog);
    238238
    239239    // MrelPSF is the average magnitude for this star. 
     
    248248    if (isnan(MsysPSF)) continue;
    249249
    250     // XXX skip Mflat for now
    251     // float Moff = Mcal + Mmos + Mgrp + Mgrid - Mflat;
    252 
    253     float Moff = Mcal + Mmos + Mgrp + Mgrid;
     250    float Moff = Mcal + Mmos + Mgrp + Mgrid - Mflat;
    254251
    255252    // Mrel is the true average apparent magnitude of this star
Note: See TracChangeset for help on using the changeset viewer.