PINE LIBRARY
已更新

FunctionPeakDetection

Library "FunctionPeakDetection"
Method used for peak detection, similar to MATLAB peakdet method

function(sample_x, sample_y, delta) Method for detecting peaks.
  Parameters:
    sample_x: float array, sample with indices.
    sample_y: float array, sample with data.
    delta: float, positive threshold value for detecting a peak.
  Returns: tuple with found max/min peak indices.
版本注释
v2
fixed issue with example usage were it would crash in replay/large history buffer.

免责声明