Changeset 41608 for branches/eam_branches/relphot.20210521/src/MosaicOps.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/MosaicOps.c
r41606 r41608 1069 1069 // apply that offset as well here for this image (in other words, each detection is 1070 1070 // being compared to the model, excluding the zero point, Mcal. The model includes 1071 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal - Mflat) 1071 // the flat-correction. NOTE the sign of Mflat (Image.Mcal = Measure.Mcal + Mflat). 1072 // this was inconsistent pre r41606 1072 1073 1073 1074 float Mflat = getMflat (m, c, catalog); … … 1094 1095 assert (Nbright >= 0); 1095 1096 1096 float Moff = Mcal + Mgrp + Mgrid -Mflat;1097 float Moff = Mcal + Mgrp + Mgrid + Mflat; 1097 1098 1098 1099 psfStars->alldata-> yVector[N] = MsysPSF - MrelPSF - Moff; … … 1205 1206 float MsysPSF = PhotSysTiny (&catalog[c].measureT[m], &catalog[c].averageT[n], &catalog[c].secfilt[n*Nsecfilt], MAG_CLASS_PSF); 1206 1207 1207 float delta = MsysPSF - MrelPSF - Mcal - Mgrid +Mflat;1208 float delta = MsysPSF - MrelPSF - Mcal - Mgrid - Mflat; 1208 1209 1209 1210 int isBad = (catalog[c].measureT[m].dbFlags & MEAS_BAD);
Note:
See TracChangeset
for help on using the changeset viewer.
