From 35d808624030c56e17b82a1bc14588f08b321ff4 Mon Sep 17 00:00:00 2001 From: Mike Regan Date: Mon, 29 Jan 2024 17:20:51 -0500 Subject: [PATCH] Update jump.py --- src/stcal/jump/jump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stcal/jump/jump.py b/src/stcal/jump/jump.py index eea6ce43c..eca264a44 100644 --- a/src/stcal/jump/jump.py +++ b/src/stcal/jump/jump.py @@ -333,7 +333,7 @@ def detect_jumps( i, ( data[:, :, i * yinc : (i + 1) * yinc, :], - gdq[:, :, i * yinc : (i + 1) * yinc, :], + gdq[:, :, i * yinc : (i + 1) * yinc, :].copy(), readnoise_2d[i * yinc : (i + 1) * yinc, :], rejection_thresh, three_grp_thresh, @@ -359,7 +359,7 @@ def detect_jumps( n_slices - 1, ( data[:, :, (n_slices - 1) * yinc : n_rows, :], - gdq[:, :, (n_slices - 1) * yinc : n_rows, :], + gdq[:, :, (n_slices - 1) * yinc : n_rows, :].copy(), readnoise_2d[(n_slices - 1) * yinc : n_rows, :], rejection_thresh, three_grp_thresh,