Skip to content
Snippets Groups Projects
Commit f5eeb686 authored by tomrink's avatar tomrink
Browse files

minor

parent 2a71d022
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment