Nov-13-2023, 09:54 PM
(This post was last modified: Nov-13-2023, 09:54 PM by deanhystad.)
I don't think it is easy to do as a human. Write down a procedure that you could give to somebody who is unfamiliar with the problem. It has to have enough detail that they could pick peaks and troughs without you having to provide an example or do any teaching. If you can do that, you can easily convert your procedure to a python program. If you cannot write down a procedure you are being held back by not understanding the problem.
For example, I don't know what I should do with this series.
50, 51, 50, 49, 50, 51, 50, 49
Is there a peak? a valley?
What about this series?
50, 51, 52, 51, 50, 49, 48, 47, 46, 45, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55?
For example, I don't know what I should do with this series.
50, 51, 50, 49, 50, 51, 50, 49
Is there a peak? a valley?
What about this series?
50, 51, 52, 51, 50, 49, 48, 47, 46, 45, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55?