Skip to content

Commit

Permalink
rewording the argument text and reverting one line of code
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Nov 13, 2024
1 parent 33263b8 commit b45a44d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions docs/jwst/firstframe/arguments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Step Arguments

The ``firstframe`` step has the following step-specific arguments.

``--bright_use_group1`` (boolean, default=True)
If True, for pixels that have the saturation flag set for group 3,
but not group 2 will not have their group 1 groupdq set to DO_NOT_USE.
``--bright_use_group1`` (boolean, default=False)
If True, setting the group 1 groupdq to DO_NOT_USE will not be done
for pixels that have the saturation flag set for group 3, but not group 2.
This will allow a slope to be determined for this pixel.
2 changes: 1 addition & 1 deletion jwst/firstframe/firstframe_sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def do_correction(output, bright_use_group1=False):
"""

# Save some data params for easy use later
sci_ngroups = output.meta.exposure.ngroups
sci_ngroups = output.data.shape[1]

# Update the step status, and if ngroups > 3, set all GROUPDQ in
# the first group to 'DO_NOT_USE'
Expand Down

0 comments on commit b45a44d

Please sign in to comment.