From 86b07b08cc7c82b86607fb63ee37b373d4bb1a3d Mon Sep 17 00:00:00 2001 From: Cal Wing <20716204+calw20@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:30:01 +1000 Subject: [PATCH] Better comments --- main.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index ab0c5ae..e2f079f 100644 --- a/main.py +++ b/main.py @@ -156,7 +156,12 @@ def genGraph(gData): makeGraph(graphData) +#print("Graphing Data") +#genGraph(data[loaded_data[0]]) +#genGraph(data[loaded_data[1]]) + +# Try to process things gData = data[loaded_data[0]] x2_time, scope_time, x2_timestamps = process_data(gData) @@ -165,9 +170,9 @@ time = (gData["x2"][0][:] - gData["x2"][0][0]).astype('float64') x2_out = canny_shock_finder(time, (gData["x2"][4][:] - gData["x2"][4][0]) * 0.0148) print(x2_out) -print("Done") + +# This forces matplotlib to hang untill I tell it to close all windows pltKeyClose() -#print("Graphing Data") -#genGraph(data[loaded_data[0]]) -#genGraph(data[loaded_data[1]]) \ No newline at end of file +print("Done") +