diff --git a/modules/util/util.py b/modules/util/util.py index 2ee0baefaaeb688892ad53885ae83a2a8671cf65..3b841bc7341536329a2002cb1694970b3b70b26f 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):