From 6e54a8c508e5bb5f1fbb5d75406d9ab7e77f2975 Mon Sep 17 00:00:00 2001 From: Diana Date: Thu, 24 Oct 2024 10:20:46 +0200 Subject: [PATCH] Changed my plot function --- code/useful_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/useful_functions.py b/code/useful_functions.py index 9f56b57..4bd1360 100644 --- a/code/useful_functions.py +++ b/code/useful_functions.py @@ -483,9 +483,9 @@ def valid_integrals(integral, local_mean, point, threshold = 0.1): """ valid = integral > (local_mean * (1 + threshold)) if valid: - print(f"The point {point} is valid, as its integral exceeds the threshold.") + print(f"The point {point} is valid.") else: - print(f"The point {point} is not valid, as its integral does not exceed the threshold.") + print(f"The point {point} is not valid.") return valid '''TODO Sarah: AM-freq plot: