07-08-2021 12:05 PM
I have an absolute sine wave and I am using the Waveform Peak Detection function to find the peaks an valleys. The detection at the peaks works well but valley detection is returning an empty array. I suspect that it is because the sharpness of the valleys. I am struggling to think of a solution for this.
Solved! Go to Solution.
07-08-2021 12:07 PM
07-08-2021 12:13 PM
🤔 The sharpness of the valleys should make them even easier to detect.
There's not much point in guessing what could be wrong though. If you want some help, post your code...
07-08-2021 12:17 PM
I generated some similar looking curves, and it works fine for me:
07-08-2021 12:26 PM
Here is the code, the graph shown was plotted after the first peak detect and before the Butterworth filter
07-08-2021 01:34 PM