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
@@ -69,7 +69,7 @@ def plot_indicators(event, channel, refined_gps, threshold):
"threshold",
xy=(ax1.get_xlim()[0], threshold),
xycoords='data',
xytext=(8, -10),
xytext=(8, -15),
textcoords='offset points',
horizontalalignment='left',
verticalalignment='top',
@@ -191,6 +191,7 @@ def find_transition(channel, segment, std_threshold, minimum=None):
logging.info("threshold: {}".format(threshold))
logging.info("refined time: {}".format(refined_gps))
else:
threshold = lower_threshold # to be shown on graphs
logging.info("no threshold crossings, unable to resolve time")
return threshold, refined_gps
Loading