-
Notifications
You must be signed in to change notification settings - Fork 171
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
JP-3238: Include dispersion factor in PHOTOM correction for NRC grism #8207
JP-3238: Include dispersion factor in PHOTOM correction for NRC grism #8207
Conversation
the dispersion had been factored out of the absolute calibration because the dispersion varies with position and wavelength. This code puts that factor back in dividing the per-pixel conversion factors by the dispersion in Angstrom/pixel
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #8207 +/- ##
==========================================
- Coverage 75.25% 75.25% -0.01%
==========================================
Files 470 470
Lines 38470 38495 +25
==========================================
+ Hits 28950 28968 +18
- Misses 9520 9527 +7
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Is there a regression test run from earlier that has these changes applied? If so, can you provide the link here? |
Link to developer regression tests: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1139/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now. And previous regtest results show only the expected factor of ~10 difference in NRC wfss and tsgrism results.
Resolves JP-3238
Closes #7659
Added code to take acount of the fact that for NRC WFSS and TSGRISM datathe dispersion had been factored out of the absolute calibration because the dispersion varies with position and wavelength. This code puts that factor back in dividing the per-pixel conversion factors by the dispersion in Angstrom/pixel
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR