Hi,
I haven't tested the difference between both functions, but I can
say that peak_local_max and _prominent_peaks
are used in several places internally.
Another point I would like to make: recently, a scipy contributor
added a beautiful function to detect peaks. I'm already using this
feature in my code. The first PR is here:
https://github.com/scipy/scipy/pull/8264 Others are for
performance enhancements. Maybe it would be useful to open an
issue and kindly ask this contributor if he is willing to bring
his experience on our code?
Just a thought I had recently, independently of this topic.
--
François Boulogne.
http://www.sciunto.org
GPG: 32D5F22F