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

Add decorator for checking level of map input #100

Open
nabobalis opened this issue Jul 9, 2021 · 0 comments
Open

Add decorator for checking level of map input #100

nabobalis opened this issue Jul 9, 2021 · 0 comments
Labels
Feature Request New feature wanted! util

Comments

@nabobalis
Copy link
Contributor

In GitLab by @wtbarnes on Jul 9, 2021, 05:13

There are several places where we check the processing level of an input map (e.g. PSF deconvolution can only occur on level 1 data). We should implement a decorator that checks the processing level of a map and throws an error if it is not consistent with the specified level.

This could also accept logical operators (e.g. >=1,==1.5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature wanted! util
Projects
None yet
Development

No branches or pull requests

1 participant