Peak detection and analysis utilities for 1D data. Provides functions to find peaks, estimate parameters, and filter peaks. Current version 1.3.5; no recent releases, appears to be in maintenance mode.
pip install peakutilsVerified import paths — ran on the pinned version, not inferred.
Basic peak detection in 1D data using threshold and minimum distance.
peakutils.peak.interpolate(x, y, ind=None, width=5, method='centroid')
Set thres=0.5 to require peaks to be at least 50% of the data range above baseline.
Use scipy.signal.hilbert or custom code; no direct replacement in peakutils.
Run 'pip install peakutils' and ensure you're using the correct Python interpreter.
Install/upgrade peakutils: 'pip install --upgrade peakutils'. Then use 'peakutils.indexes()'.
Use 'peakutils.indexes(y, thres=0.5)' directly, not via peak submodule.