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

flatCorrect() [and other primitives?] do some checks on user-supplied calibrations #443

Open
chris-simpson opened this issue Jul 22, 2023 · 0 comments

Comments

@chris-simpson
Copy link
Contributor

The imaging version of flatCorrect() checks that the flat has the same filter as the science. It should not do this as the user should be able to submit any file as a flatfield (and if the calibration comes from the caldb then the filter will match anyway). We should prevent such failures (although it may be wise to log a WARNING if there is a filter mismatch).

The other primitives that similarly apply a calibration should be checked also.

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