From f5eeb686d6223e8c20927bf49e227cab3f1229ac Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Tue, 28 Dec 2021 11:26:15 -0600 Subject: [PATCH] minor --- modules/util/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/util/util.py b/modules/util/util.py index 2ee0baef..3b841bc7 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -143,6 +143,7 @@ def get_breaks(t, threshold): # return indexes of ts where value is within ts[i] - threshold < value < ts[i] + threshold +# eventually, if necessary, fully vectorize (numpy) this is possible def get_indexes_within_threshold(ts, value, threshold): idx_s = [] for k, v in enumerate(ts): -- GitLab