IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42537


Ignore:
Timestamp:
Sep 12, 2023, 1:21:20 PM (3 years ago)
Author:
eugene
Message:

use measureT for Mflat if it exists (otherwise use measure)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/setMrelCatalog.c

    r42520 r42537  
    274274
    275275      // the flat-field correction is stored in measure.Mflat
    276       //Mflat = isnan (measureT[k].Mflat) ? 0.0 : measureT[k].Mflat;
    277       if (measure) {
     276      // if measureT exists, we are in the relphot_image analysis loops
     277      // if measureT does not exist, we are updating the measurements and
     278      // need to use the 'measure' version
     279      if (measureT) {
     280        Mflat = isnan (measureT[k].Mflat) ? 0.0 : measureT[k].Mflat;
     281      } else if (measure) {
    278282        Mflat = isnan (measure[k].Mflat) ? 0.0 : measure[k].Mflat;
    279283      }
Note: See TracChangeset for help on using the changeset viewer.