本文共 636 字,大约阅读时间需要 2 分钟。
函数格式:
scipy.signal.peak_prominences(x, peaks, wlen=None)[source]一个波峰的prominences指的是:
The prominence of a peak measures how much a peak stands out from the surrounding baseline of the signal and is defined as the vertical distance between the peak and its lowest contour line,如下图所示: 参数介绍: 输入: x:sequence。A signal with peaks.peaks:sequence。Indices of peaks in x.
wlenint:optional。A window length in samples that optionally limits the evaluated area for each peak to a subset of x. The peak is always placed in the middle of the window therefore the given length is rounded up to the next odd integer. This parameter can speed up the cal
转载地址:http://xxrti.baihongyu.com/