From aa64f1d6b61de31e8ad490efabda9a61fa3f89a3 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 26 Jul 2024 09:03:55 -0400 Subject: [PATCH] copy docstring from jwst --- src/stcal/outlier_detection/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stcal/outlier_detection/utils.py b/src/stcal/outlier_detection/utils.py index 0cb9dd33b..85bd89ced 100644 --- a/src/stcal/outlier_detection/utils.py +++ b/src/stcal/outlier_detection/utils.py @@ -85,6 +85,7 @@ def compute_weight_threshold(weight, maskpt): def _abs_deriv(array): + """Take the absolute derivate of a numpy array.""" tmp = np.zeros(array.shape, dtype=np.float64) out = np.zeros(array.shape, dtype=np.float64)