Changed my plot function
This commit is contained in:
parent
e526026250
commit
6e54a8c508
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user