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") +