I’ve got a table with coordinate-points (X,Y-shown as a Chart-Series). Now I checked out how to detect peaks.
For each Point (P) I have to check whether (P.Y > P-1.Y && P.Y > P+1.Y). If it is, it must be a Peak.
But what if I want to get only the really significant peaks for the entire graph? My guess is, I would neet some kind of threshold. What could this threshold be or how should I change the condition for peaks?
The simplest thing coming to my mind: