From 0089d93354dd7336b5c8c747c3d717f4858a0138 Mon Sep 17 00:00:00 2001 From: David Law Date: Wed, 27 Nov 2024 14:40:24 -0500 Subject: [PATCH] Fix boundary issue --- src/stcal/saturation/saturation.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/stcal/saturation/saturation.py b/src/stcal/saturation/saturation.py index 5f97cadc..dcccf0ec 100644 --- a/src/stcal/saturation/saturation.py +++ b/src/stcal/saturation/saturation.py @@ -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, :, :])