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 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -29,8 +29,8 @@ 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(y_ind.sample_rate * 5)
locked_sample = bufs[1][0][:samples]
samples = int(bufs[1][0].sample_rate * 5)
locked_sample = y_ind[:samples]
locked_mean = np.mean(locked_sample)
plt.rcParams['text.usetex'] = False
Loading