fidel with canning values

This commit is contained in:
Cal Wing 2024-10-17 20:57:31 +10:00
parent 764c617780
commit a04be0889a

View File

@ -192,7 +192,7 @@ def load_data(data_to_load: list[str]) -> dict:
probeCh2 = data[x2_shot]["data"]["scope"][2] probeCh2 = data[x2_shot]["data"]["scope"][2]
#[HACK] For detection #[HACK] For detection
TIME_OFFSET = 10 #us TIME_OFFSET = 50 #us
if i > 0: if i > 0:
privPoint = dataInfo["probe-info"]["locations"][i-1] privPoint = dataInfo["probe-info"]["locations"][i-1]
time_offset = data[x2_shot]["shock-point"][f"{privPoint}-g1"][1] + TIME_OFFSET time_offset = data[x2_shot]["shock-point"][f"{privPoint}-g1"][1] + TIME_OFFSET