Skip to content

Commit

Permalink
new param for saturation, continute to not flag adjacent pixels for now
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Apr 29, 2022
1 parent da385fb commit 833537b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/saturation/saturation.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def flag_saturation(input_model, ref_model):

# Obtain dq arrays updated for saturation
gdq_new, pdq_new = flag_saturated_pixels(data, gdq, pdq, sat_thresh,
sat_dq, ATOD_LIMIT, dqflags.pixel)
sat_dq, ATOD_LIMIT, dqflags.pixel, n_pix_grow_sat=0)

# Save the flags in the output GROUPDQ array
output_model.groupdq = gdq_new[0, :]
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ install_requires =
pyparsing>=2.2
requests>=2.22
roman_datamodels>=0.11.0
<<<<<<< HEAD
stcal>=0.2.5
=======
romanad==0.10.0
stcal @ git+https://github.com/cshanahan1/stcal.git@charge_spill_sat_fix
>>>>>>> 8d0c71f... new param for saturation, continute to not flag adjacent pixels for now
stpipe>=0.3.1

[options.extras_require]
Expand Down

0 comments on commit 833537b

Please sign in to comment.