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

Tweak PSF normalization limits for AMI and CLEARP #664

Merged
merged 3 commits into from
Apr 21, 2021

Conversation

bhilbert4
Copy link
Collaborator

This PR updates the maximum value of the total signal in the gridded PSF library for NIRISS AMI observations. Recent updates to the NRM mask increased the total signal in the WebbPSF-created PSFs just above the previous threshold, resulting in Mirage stopping with an error that the libraries weren't normalized properly. This PR increases the maximum allowed value to account for the new NRM mask calculation.

It also pulls the custom thresholds for AMI and CLEARP observations out of catalog_seed_image.py and places them into the constants.py module, where they are a bit more obvious.

@bhilbert4 bhilbert4 self-assigned this Apr 20, 2021
@bhilbert4 bhilbert4 merged commit d140405 into spacetelescope:master Apr 21, 2021
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.

1 participant