Finds all the max values If the values are equal the middle of the equal part will be the position of the signal!
object that contains property x (an ordered increasing array) and y (an array).
options with from and to properties.
array of points.
Finds all the max values If the values are equal the middle of the equal part will be the position of the signal!