From e5e283f35a4ebb74b1844bb79617e772c0f0967f Mon Sep 17 00:00:00 2001 From: Cal Wing <20716204+calw20@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:28:53 +1000 Subject: [PATCH] make the graph? --- canny_shock_finder.py | 2 +- main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/canny_shock_finder.py b/canny_shock_finder.py index 2f97c41..e9e316f 100644 --- a/canny_shock_finder.py +++ b/canny_shock_finder.py @@ -478,7 +478,7 @@ def canny_shock_finder(time_list, pressure_list, sigma = 4, derivative_threshold except Exception as e: print (e) print ("There was an issue plotting the result.") - mplt.close('all') + #mplt.close('all') if not return_processing_lists: # just return the found arrival time/times diff --git a/main.py b/main.py index 1542cf1..ab0c5ae 100644 --- a/main.py +++ b/main.py @@ -166,6 +166,7 @@ x2_out = canny_shock_finder(time, (gData["x2"][4][:] - gData["x2"][4][0]) * 0.01 print(x2_out) print("Done") +pltKeyClose() #print("Graphing Data") #genGraph(data[loaded_data[0]])