From d159f512b24df6a31d4bd8f517059235d3e52796 Mon Sep 17 00:00:00 2001 From: Melanie Clarke Date: Thu, 18 Jan 2024 14:53:01 -0500 Subject: [PATCH] Clarify comments --- CHANGES.rst | 4 ++-- jwst/refpix/irs2_subtract_reference.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 262257fbf7..ed4d73ea6b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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 diff --git a/jwst/refpix/irs2_subtract_reference.py b/jwst/refpix/irs2_subtract_reference.py index 5542c8faa6..a3fd2edf5b 100644 --- a/jwst/refpix/irs2_subtract_reference.py +++ b/jwst/refpix/irs2_subtract_reference.py @@ -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()