Skip to content

Commit

Permalink
Propagate masked pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
drlaw1558 committed Nov 8, 2024
1 parent 3f6f8d3 commit a0cd517
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stcal/jump/jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,8 @@ def find_faint_extended(
masked_smoothed_ratio = convolve(masked_ratio.filled(np.nan), ring_2D_kernel)
# mask out the pixels that got refilled by the convolution
masked_smoothed_ratio[dnuy, dnux] = np.nan
masked_smoothed_ratio[saty, satx] = np.nan
masked_smoothed_ratio[jumpy, jumpx] = np.nan
nrows = ratio.shape[1]
ncols = ratio.shape[2]
extended_emission = np.zeros(shape=(nrows, ncols), dtype=np.uint8)
Expand Down

0 comments on commit a0cd517

Please sign in to comment.