I have an evenly spaced time series (Y) that defines a repeating pattern.
I want to find three kinds of points: