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

DM-23841: Add option to have Mag use calibrated fluxes #358

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

timothydmorton
Copy link
Contributor

Previously, Mag required either a calib object or calib=None, when a default zero-point would be used. Now, since the pipe-analysis parquet tables are writing calibrated fluxes, if we want to compute mags from them, then there needs to be an option for the Mag calculation to have a ZP of one; this allows this if calib=False.

Previously, Mag required either a calib object
or calib=None, when a default zero-point would be used.
Now, since the pipe-analysis parquet tables are writing
calibrated fluxes, if we want to compute mags from them,
then there needs to be an option for the Mag calculation
to have a ZP of one; this allows this if calib=False.
Copy link
Contributor

@morriscb morriscb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. You may want to look at the LocalPhotometry functors if you need something like this as they apply the local value of the photoCalib to the fluxes.

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

Successfully merging this pull request may close these issues.

2 participants