{"library":"signal-processing-algorithms","title":"Signal Processing Algorithms","description":"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install signal-processing-algorithms"],"cli":null},"imports":["from signal_processing_algorithms.peak_shapes import peak_shapes","from signal_processing_algorithms.peak_shapes import Signal"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from signal_processing_algorithms.peak_shapes import peak_shapes\nfrom signal_processing_algorithms.peak_shapes import Signal\nimport numpy as np\n\nsignal = Signal(np.sin(np.linspace(0, 10, 1000)))\nresults = peak_shapes(signal, threshold=0.5)\nprint(results)","lang":"python","description":"Detect peaks in a sine wave using the peak_shapes algorithm.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}