Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed Jan 18, 2024
1 parent 255847c commit d159f51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ outlier_detection
refpix
------

- Modify IRS2 bad reference pixel flagging to consider values from all
groups in all integrations and robustly replace values from their
- Modify NIRSpec IRS2 bad reference pixel flagging to consider values from
all groups in all integrations and robustly replace values from their
nearest neighbors. [#8197]

tweakreg
Expand Down
2 changes: 1 addition & 1 deletion jwst/refpix/irs2_subtract_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def correct_model(input_model, irs2_model,
This agrees with the above value of tframe (14.5889 s) if NFOH = 714.
"""

# Only copy in SCI data array for now; that's all we need. The rest
# Copy in SCI and PIXELDQ arrays for now; that's all we need. The rest
# of the input model will be copied to output at the end of the step.
data = input_model.data.copy()
pixeldq = input_model.pixeldq.copy()

Check warning on line 75 in jwst/refpix/irs2_subtract_reference.py

View check run for this annotation

Codecov / codecov/patch

jwst/refpix/irs2_subtract_reference.py#L75

Added line #L75 was not covered by tests
Expand Down

0 comments on commit d159f51

Please sign in to comment.