A library for signal processing algorithms, originally developed at MongoDB, including peak detection using the 'peak_shapes' algorithm and related utilities. Current version 2.1.6 requires Python <3.12,>=3.11. Maintained by MongoDB.
pip install signal-processing-algorithmsVerified import paths — ran on the pinned version, not inferred.
Detect peaks in a sine wave using the peak_shapes algorithm.
Use `from signal_processing_algorithms.peak_shapes import peak_shapes`
Use `from signal_processing_algorithms.peak_shapes import find_peaks`
Convert list to numpy array: `signal = Signal(np.array([...]))`