detect_peaks#
- pyCGM2.Signal.detect_peaks.detect_peaks(x: ndarray, mph: float | None = None, mpd: int = 1, threshold: int = 0, edge: str = 'rising', kpsh: bool = False, valley: bool = False, show: bool = False, ax: Axes | None = None)#
Detect peaks in data based on their amplitude and other features.