I would like to use scipy.signal.find_peaks to find peaks in some 2D data but the function defaults to ignore all edge peaks (peaks that occur on the left or right border of the array). Is there a way to include edge peaks in the results?
For example, I would like this code:
find_peaks([5,4,3,3,2,3])
to produce
[0,5]
but instead it produces
[]

