Changeset 41608 for branches/eam_branches/relphot.20210521/src/ImageOps.c
- Timestamp:
- May 22, 2021, 1:44:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/relphot.20210521/src/ImageOps.c
r41606 r41608 636 636 // apply that offset as well here for this image (in other words, each detection is 637 637 // being compared to the model, excluding the zero point, Mcal. The model includes 638 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal - Mflat) 638 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal + Mflat) 639 // this was inconsistent w.r.t. PhotRel pre-r41606 639 640 640 641 float Mflat = getMflat (m, c, catalog); … … 647 648 } 648 649 649 float Moff = Mmos + Mgrp + Mgrid -Mflat;650 float Moff = Mmos + Mgrp + Mgrid + Mflat; 650 651 651 652 PhotCode *code = GetPhotcodebyCode (catalog[c].measureT[m].photcode); … … 830 831 // apply that offset as well here for this image (in other words, each detection is 831 832 // being compared to the model, excluding the zero point, Mcal. The model includes 832 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal -Mflat)833 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal + Mflat) 833 834 834 835 float Mflat = getMflat (m, c, catalog); … … 842 843 } 843 844 844 float Moff = Mmos + Mgrp + Mgrid -Mflat;845 float Moff = Mmos + Mgrp + Mgrid + Mflat; 845 846 846 847 psfStars.alldata-> yVector[Nref] = MsysPSF - MrelPSF - Moff;
Note:
See TracChangeset
for help on using the changeset viewer.
