This commit is contained in:
2025-10-31 18:20:51 +01:00
parent 701d90ae78
commit 32adb370cd

View File

@@ -69,11 +69,11 @@ def calc_apply_threshold(results, data):
if k not in results: if k not in results:
return data return data
data = data.copy() # do the following in-place changes on a copy
threshold_min = float(results["threshold_min"]) threshold_min = float(results["threshold_min"])
threshold_max = float(results["threshold_max"]) 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) threshold(data, threshold_min, threshold_max, np.nan)
return data return data