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

JP-3440: Revert change clobbering extra pixels near bad reference pixels #8005

Merged
merged 5 commits into from
Oct 17, 2023

Conversation

melanieclarke
Copy link
Collaborator

@melanieclarke melanieclarke commented Oct 12, 2023

Resolves JP-3440

Closes #8008

This PR reverts a change associated with JP-3321, PR 7745, setting two additional detector columns next to bad reference pixels to zero. Depending on the bad reference pixel location, the additional columns set to zero might have been adjacent interleaved reference pixels, or might have been science data. If science data, the effect is clear in the rate files: the affected data appear as bad rows with near-zero values.

Checklist for maintainers

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR
  • Make sure the JIRA ticket is resolved properly

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
jwst/refpix/irs2_subtract_reference.py 86.42% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@melanieclarke melanieclarke changed the title Revert change clobbering extra pixels near bad reference pixels JP-3440: Revert change clobbering extra pixels near bad reference pixels Oct 13, 2023
@hbushouse hbushouse added this to the Build 10.0.1 milestone Oct 13, 2023
@hbushouse
Copy link
Collaborator

@hbushouse
Copy link
Collaborator

Regression tests show changes downstream of the refpix step for two NRS datasets, which I'm assuming are expected.

@melanieclarke
Copy link
Collaborator Author

I think those are expected changes. Running locally, I can see the bad rows in the truth files.

@hbushouse hbushouse merged commit eb75b6b into spacetelescope:master Oct 17, 2023
23 checks passed
@hbushouse hbushouse added the IRS2 readout NIRSpec IRS2 readout mode label Oct 17, 2023
@melanieclarke melanieclarke deleted the patch_refpix_clobber branch October 26, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IRS2 readout NIRSpec IRS2 readout mode refpix testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert change clobbering extra columns near bad reference pixels
2 participants