Changed my plot function

This commit is contained in:
Diana 2024-10-24 10:20:46 +02:00
parent e526026250
commit 6e54a8c508

View File

@ -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: