Peaks.jl contains peak (local extrema) finding functions for vector data. Contributions welcome.
xwhere each extrema is either the maximum of
x[-w:w]or the first index of a plateau. If
true, all elements of
x[-w:w]must exist and may not be
false, elements of
x[-w:w]may not exist (eg peaks may be less than
windices from either end of
x), or may be
NaNmust not be extrema.
xmatching the conditions
wsets the minimum allowed distance between extrema.
minpromsets the minimum prominence (inclusive) of returned extrema. Peak prominence is calculated as the difference between the current extrema and the most extreme of the smallest extrema of the lower and upper bounds. Bounds extend from the current extrema to the next extrema more extreme than the current extrema, or the end of the signal, which ever comes first.
strictbounds = false
12 days ago