Better comments

This commit is contained in:
Cal Wing 2024-10-15 21:30:01 +10:00
parent e5e283f35a
commit 86b07b08cc

13
main.py
View File

@ -156,7 +156,12 @@ def genGraph(gData):
makeGraph(graphData) makeGraph(graphData)
#print("Graphing Data")
#genGraph(data[loaded_data[0]])
#genGraph(data[loaded_data[1]])
# Try to process things
gData = data[loaded_data[0]] gData = data[loaded_data[0]]
x2_time, scope_time, x2_timestamps = process_data(gData) 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) x2_out = canny_shock_finder(time, (gData["x2"][4][:] - gData["x2"][4][0]) * 0.0148)
print(x2_out) print(x2_out)
print("Done")
# This forces matplotlib to hang untill I tell it to close all windows
pltKeyClose() pltKeyClose()
#print("Graphing Data") print("Done")
#genGraph(data[loaded_data[0]])
#genGraph(data[loaded_data[1]])