gives a binary list in which 1s correspond to peak positions in data.

detects peaks that survive Gaussian blurring up to scale σ.

detects peaks with minimum sharpness s.

detects only peaks with values greater than t.

uses different scales for thresholding sharpness and value.

Details and OptionsDetails and Options

  • PeakDetect finds local maxima using the given constraints.
  • PeakDetect[data] automatically chooses constraints to return a set of peaks.
  • Input data can be of one of the following forms:
  • {y1,y2,}a list of values
    TimeSeries[]regularly sampled time series object
    EventSeries[]regularly sampled event series object
  • PeakDetect[data,0,0,-] returns all the peaks.
  • PeakDetect[data,σ,s,t] is equivalent to PeakDetect[data,σ,{s,σ},{t,0}].
  • PeakDetect takes a Padding option. By default, Padding->"Reversed" is used.
Introduced in 2014
Translate this page: