From 1af3e9c3ec8f484b91b8cf084e774864733a458d Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Thu, 1 Aug 2024 09:02:58 +0200 Subject: [PATCH] added todo notes about TBD logic changes --- dap/algos/radprof.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dap/algos/radprof.py b/dap/algos/radprof.py index fa3cec3..101be6b 100644 --- a/dap/algos/radprof.py +++ b/dap/algos/radprof.py @@ -25,6 +25,7 @@ def calc_radial_integration(results, data, keep_pixels, pixel_mask_pf, center_ra threshold_min = float(results["threshold_min"]) threshold_max = float(results["threshold_max"]) data[data < threshold_min] = np.nan + #TODO: skipping max is a guess, but not obvious/symmetric -- better to ensure the order min < max by switching them if needed if threshold_max > threshold_min: data[data > threshold_max] = np.nan @@ -36,6 +37,7 @@ def calc_radial_integration(results, data, keep_pixels, pixel_mask_pf, center_ra if ( silent_region_min is not None and silent_region_max is not None and + #TODO: skipping entirely is a guess, but not obvious -- better to ensure the order min < max by switching them if needed silent_region_max > silent_region_min and silent_region_min > r_min and silent_region_max < r_max