8000 JP-1776: Update photom to compute uniform and ps corrections by hbushouse · Pull Request #5463 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JP-1776: Update photom to compute uniform and ps corrections #5463

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

Merged
merged 5 commits into from
Nov 4, 2020

Conversation

hbushouse
Copy link
Collaborator

Updated the NIRSpec fixed-slit/MSA branch of the photom_io function to compute both uniform and point source conversion factors for the NIRSpec fixed-slit primary slit when it contains a point source. Both versions of the correction are stored in the output slit instance for use later by the master_background step, for applying corrections.

Note that the uniform source correction uses the WCS object to compute an uncorrected wavelength grid for the slit, while the point source correction uses the existing 2D wavelength array, because it contains corrected wavelengths. Once the wavecorr step gets updated to include the wavelength correction as another transform in the WCS object, the uncorrected wavelengths will need to be computed from the WCS by excluding that new transform.

Fixes #5458 / JP-1776

@hbushouse hbushouse added this to the Build 7.7 milestone Nov 3, 2020
@hbushouse hbushouse merged commit c04bc7e into spacetelescope:master Nov 4, 2020
@hbushouse hbushouse deleted the jp1776_nrsphot branch November 4, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the Photom step to compute uniform and point source corrections
2 participants
0