Fix ordering
This commit is contained in:
parent
5ffbf17ac6
commit
e59aa2d034
4
main.py
4
main.py
@ -499,8 +499,6 @@ def load_ref_data(x2_shot: str, data_path: str, data={}) -> dict:
|
||||
"shock-speed": {} # Note all in us
|
||||
}
|
||||
|
||||
data[x2_shot]["time"]["x2_uncert"] = max(UNCERTS["time"]["x2-daq"], data[x2_shot]["time"]["x2-dt"])
|
||||
|
||||
# === Process the data ===
|
||||
# Generate X2 time arrays
|
||||
time_data = x2_channels[0]
|
||||
@ -533,6 +531,8 @@ def load_ref_data(x2_shot: str, data_path: str, data={}) -> dict:
|
||||
"x2-dt": x2_time_dt
|
||||
}
|
||||
|
||||
data[x2_shot]["time"]["x2_uncert"] = max(UNCERTS["time"]["x2-daq"], data[x2_shot]["time"]["x2-dt"])
|
||||
|
||||
|
||||
# Find Shock Times
|
||||
# X2 - Canning Edge
|
||||
|
Loading…
x
Reference in New Issue
Block a user