Better comments
This commit is contained in:
		
							
								
								
									
										13
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								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]])
 | 
			
		||||
print("Done")
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user