From 32adb370cd84b257e39eb77335383e52b51d1a07 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 31 Oct 2025 18:20:51 +0100 Subject: [PATCH] order --- dap/algos/radprof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dap/algos/radprof.py b/dap/algos/radprof.py index 3229ed9..fd42d91 100644 --- a/dap/algos/radprof.py +++ b/dap/algos/radprof.py @@ -69,11 +69,11 @@ def calc_apply_threshold(results, data): if k not in results: return data - data = data.copy() # do the following in-place changes on a copy - threshold_min = float(results["threshold_min"]) threshold_max = float(results["threshold_max"]) + data = data.copy() # do the following in-place changes on a copy + threshold(data, threshold_min, threshold_max, np.nan) return data