Change to lossless
This commit is contained in:
parent
beccac62ee
commit
5a9c378d9e
4
main.py
4
main.py
@ -43,7 +43,7 @@ for dp in data_to_load:
|
||||
dataInfo = yaml.safe_load(file)
|
||||
x2_shot = dataInfo["shot-info"]["name"]
|
||||
|
||||
x2_tdms_data = TdmsFile.read(data_path + dataInfo["shot-info"]['tdms'])
|
||||
x2_tdms_data = TdmsFile.read(data_path + dataInfo["shot-info"]['tdms'], raw_timestamps=False)
|
||||
x2_channels = x2_tdms_data.groups()[0].channels()
|
||||
|
||||
if dataInfo["probe-info"]["data-record"]["type"] == "scope":
|
||||
@ -165,7 +165,7 @@ def genGraph(gData):
|
||||
gData = data[loaded_data[0]]
|
||||
x2_time, scope_time, x2_timestamps = process_data(gData)
|
||||
|
||||
time = (gData["x2"][0][:] - gData["x2"][0][0]).astype('float64')
|
||||
time = (gData["x2"][0][:] - gData["x2"][0][0])
|
||||
|
||||
x2_out = canny_shock_finder(time, (gData["x2"][4][:] - gData["x2"][4][0]) * 0.0148)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user