IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 10:03:06 AM (5 years ago)
Author:
eugene
Message:

major revision of the photometric flat-field correction / grid analysis; strip out code which uses astrometric information to define the grid

File:
1 edited

Legend:

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

    r41561 r41603  
    243243      Mgrp  = getMgrp  (meas, cat, measureT[k].airmass, &dMgrp);
    244244      if (isnan(Mgrp))  SKIP_THIS_MEAS(Ngrp);
    245       Mgrid = getMgrid (meas, cat);
     245      Mgrid = getMgridTiny (&measureT[k]);
    246246      if (isnan(Mgrid)) SKIP_THIS_MEAS(Ngrid);
    247247      Mflat = isnan (measureT[k].Mflat) ? 0.0 : measureT[k].Mflat;
     
    732732      McalAPER  = USE_MCAL_PSF_FOR_STACK_APER ? getMcal  (measSeq, cat, MAG_CLASS_PSF) : getMcal  (measSeq, cat, MAG_CLASS_KRON);
    733733      Mmos      = getMmos  (measSeq, cat);
    734       Mgrid     = getMgrid (measSeq, cat);
     734      Mgrid     = getMgrid (&measure[meas]);
    735735      // XXX can Mmos and Mgrid exist for stacks?
    736736    }
Note: See TracChangeset for help on using the changeset viewer.