Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zero points in desc.monitor.LightCurve.build_lightcurve* need to be set correctly #42

Open
jchiang87 opened this issue Jul 12, 2016 · 0 comments

Comments

@jchiang87
Copy link
Contributor

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

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant