IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39278


Ignore:
Timestamp:
Dec 16, 2015, 9:40:10 AM (11 years ago)
Author:
eugene
Message:

flip sign of ubercal correction when combined with Mflat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/uniphot/src/cam_zpt_correction.c

    r39272 r39278  
    385385        float delta = FlatCorrectionOffset (flatcorr, ID, chipX, chipY);
    386386
    387         values[jx + jy*NxModel] += delta;
     387        // note that Eddie's offset is defined so that Mrel = Mcat + offset
     388        // while my flatfield dM is defined so that dM = Mcat - Mrel or Mrel = Mcal - dM
     389        // note that in the old code, measure.Mcal = -offset and Mrel = Mcat - Mcal
     390        values[jx + jy*NxModel] -= delta;
    388391      }
    389392    }
Note: See TracChangeset for help on using the changeset viewer.