Skip to content

Commit

Permalink
fixing silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
penaguerrero committed Sep 20, 2024
1 parent 580e754 commit 33c46d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jwst/saturation/saturation.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def flag_saturation(output_model, ref_model, n_pix_grow_sat, use_readpatt):
gdq = output_model.groupdq
pdq = output_model.pixeldq
data = output_model.data
nframes = output_model.meta.exposure.nframes
ngroups = output_model.meta.exposure.ngroups

zframe = output_model.zeroframe if output_model.meta.exposure.zero_frame else None

Expand Down Expand Up @@ -93,7 +95,7 @@ def flag_saturation(output_model, ref_model, n_pix_grow_sat, use_readpatt):
return output_model


def irs2_flag_saturation(input_model, ref_model, n_pix_grow_sat, use_readpatt):
def irs2_flag_saturation(output_model, ref_model, n_pix_grow_sat, use_readpatt):
"""
Short Summary
-------------
Expand All @@ -104,7 +106,7 @@ def irs2_flag_saturation(input_model, ref_model, n_pix_grow_sat, use_readpatt):
Parameters
----------
input_model : `~jwst.datamodels.RampModel`
output_model : `~jwst.datamodels.RampModel`
The input science data to be corrected
ref_model : `~jwst.datamodels.SaturationModel`
Expand Down

0 comments on commit 33c46d1

Please sign in to comment.