Commit eea7de2a authored by Sebastian Khan's avatar Sebastian Khan
Browse files

Update specs.py working on implementing a check that the peak of the waveform is near zero

parent 118f6a28
Pipeline #19602 passed with stage
in 1 minute and 2 seconds
......@@ -233,6 +233,13 @@ def ismonotonic(x):
"""
dx = np.diff(x)
return np.all(dx <= 0) or np.all(dx >= 0)
def is_peak_near_zero():
"""
A function that checks that the waveform data (amp and phase)
have a peak that is near zero.
"""
raise NotImplementedError
# General Fields
class Type(Spec):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment