Good day! So I have a set of 1D array data where I am trying to select the steepest maxima points using python. So let's say the data set looks like this
[1,3,8,7,6,4,5,4,6,7,8,3,1]
The local maxima here are
array([8, 5, 8])
Now I would like to select the two maxima out of the data set, that have the steepest derivative change on both sides. In this example here are 8 and 8
Is there a library in python for this very task or do I have to hard code it ?
Thank you so much!