From 9c8c01f866435d9faa50210280e359491fdb3daf Mon Sep 17 00:00:00 2001 From: Cal W <20716204+calw20@users.noreply.github.com> Date: Fri, 18 Oct 2024 00:08:30 +1000 Subject: [PATCH] remove trigger --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index e881257..5e6dd4c 100644 --- a/main.py +++ b/main.py @@ -282,7 +282,7 @@ def genGraph(gData: dict, showPlot: bool = True): lims = [] - for label in gData["info"]["pcb-refs"] + ["trigbox"]: + for label in gData["info"]["pcb-refs"]: # + ["trigbox"]: graphData["plots"].append({ "x": gData["time"]["x2"], "y": gData["data"]["x2"][label], @@ -300,7 +300,7 @@ def genGraph(gData: dict, showPlot: bool = True): lims.append(gData["shock-point"][label][1]) # [TODO this but better] - for label, d in [("1 [V]", "G1"),("2 [V]", "G2"), ("4 [V]", "Gauge Trigger")]: + for label, d in [("1 [V]", "G1"),("2 [V]", "G2")]: #, ("4 [V]", "Gauge Trigger")]: graphData["plots"].append({ "x": gData["time"]["scope"], "y": gData["data"]["scope"][label],