use floats
This commit is contained in:
parent
e57d04525e
commit
e0e6205895
2
main.py
2
main.py
@ -160,7 +160,7 @@ def genGraph(gData):
|
|||||||
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)
|
||||||
|
|
||||||
time = (gData["x2"][0][:] - gData["x2"][0][0]).astype('int')
|
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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user