Open jchiang87 opened 8 years ago
The fluxes extracted from the forced source FITS catalogs using this code https://github.com/DarkEnergyScienceCollaboration/Monitor/blob/master/python/desc/monitor/monitor.py#L114 need to have the zero points set for each visit from the calexp data. See https://github.com/DarkEnergyScienceCollaboration/pserv/blob/master/python/desc/pserv/utils.py#L73
calexp
For the lightcurves built from the Level 2 ForcedSource table, since the units of fluxes in that table are nmgy, this line https://github.com/DarkEnergyScienceCollaboration/Monitor/blob/master/python/desc/monitor/monitor.py#L167 should be
lightcurve['zp'].append(22.5)
The fluxes extracted from the forced source FITS catalogs using this code https://github.com/DarkEnergyScienceCollaboration/Monitor/blob/master/python/desc/monitor/monitor.py#L114 need to have the zero points set for each visit from the
calexp
data. See https://github.com/DarkEnergyScienceCollaboration/pserv/blob/master/python/desc/pserv/utils.py#L73For the lightcurves built from the Level 2 ForcedSource table, since the units of fluxes in that table are nmgy, this line https://github.com/DarkEnergyScienceCollaboration/Monitor/blob/master/python/desc/monitor/monitor.py#L167 should be