From 2011b49d81d0f4d4186cce40d3cff17e76f5c2f9 Mon Sep 17 00:00:00 2001 From: William Benoit Date: Tue, 9 Sep 2025 14:47:39 -0700 Subject: [PATCH] Add maximum detection statistic to Aframe response plot --- buoy/utils/plotting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buoy/utils/plotting.py b/buoy/utils/plotting.py index bb24b5f..7cff47c 100644 --- a/buoy/utils/plotting.py +++ b/buoy/utils/plotting.py @@ -59,6 +59,7 @@ def plot_aframe_response( plt.legend(loc="upper right") plt.xlim(t0 + 94, t0 + 102) plt.grid() + plt.title(f"Maximum detection statistic: {max(integrated):.2f}") plt.savefig(plotdir / "aframe_response.png", bbox_inches="tight") plt.close()