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
@@ -29,7 +29,7 @@ def plot_indicators(event, channel, refined_gps, threshold):
y_ind, t_ind = bufs[1].yt()
# calculate mean using first 5 seconds of y_ind data
samples = int(bufs[1][0].sample_rate * 5)
samples = int(bufs[1].sample_rate * 5)
locked_sample = y_ind[:samples]
locked_mean = np.mean(locked_sample)
Loading