Skip to content

Commit

Permalink
Fix boundary issue
Browse files Browse the repository at this point in the history
  • Loading branch information
drlaw1558 committed Nov 27, 2024
1 parent e826610 commit 0089d93
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/stcal/saturation/saturation.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ def flag_saturated_pixels(
# Flag the 2nd group for the pixels passing that gauntlet
flagarray = np.zeros_like(mask,dtype='uint8')
flagarray[mask] = dnu
# flag any pixels that border these new pixels
if n_pix_grow_sat > 0:
flagarray = adjacent_pixels(flagarray, dnu, n_pix_grow_sat)

# Add them to the gdq array
np.bitwise_or(gdq[ints, 1, :, :], flagarray, gdq[ints, 1, :, :])
Expand Down

0 comments on commit 0089d93

Please sign in to comment.