Skip to content
Snippets Groups Projects

Draft: WIP Positive/negative standard deviation refinement

Open Camilla Compton requested to merge camilla.compton/locklost:pos_neg_std into master
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -101,7 +101,7 @@ def refine_calculate(event, params, window, refined_gps=None, threshold=None):
ind_list.append([np.min(inds_above), upper_threshold])
if inds_below.any():
ind_list.append([np.min(inds_below), lower_threshold])
if ind_list.any():
if len(ind_list) > 0:
ind_list.sort()
ind = ind_list[0][0]
threshold = ind_list[0][1]
Loading