Skip to content

findpeaks process finds peaks in time series

Arin Wongprommoon requested to merge findpeaks into master

Users can now use the findpeaks process to find peaks in time series in a dataframe, subject to parameters derived from scipy.signal.find_peaks. This is basically a wrapper for the scipy function, coaxed into the parameters-process paradigm.

Design rationales:

  • Incorporate all scipy.signal.find_peaks parameters but define 2 as defaults: all there for completeness (and so that I don't need to keep adding more if I need more), but fixed defaults for 2 of them that work well for me.
  • The _find_peaks_mask function: putting this in a convenience function so that I can use it cleanly in the lambda within signal.apply()

This addresses issue #4 (closed).

Merge request reports