Plot equation / clustering of a plot

Is there any way to get the function or to get only the points in the top of the plot? Consider that the x variable is time (date, seconds) or samples/minute and that the amplitude of the "oscillation" is not fixed. Consider also that the period is not constant.

enter image description here

I was wondering if there is a built-in function in numpy/matplotlib/pandas libraries. Currently I am finding a math equation that could make it work.



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation