Click or drag to resize

PeakFinderExecute(IReadOnlyListDouble) Method

Find peaks inside a signal based on peak properties. This function takes a 1-D array and finds all local maxima by simple comparison of neighboring values. Optionally, a subset of these peaks can be selected by specifying conditions for peak properties. For this call, the properties of this PeakFinder instance will be used (that were previously set with the Set* methods).

Namespace: Altaxo.Science.Spectroscopy.PeakSearching
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public int[] Execute(
	IReadOnlyList<double> x
)

Parameters

x  IReadOnlyListDouble

[Missing <param name="x"/> documentation for "M:Altaxo.Science.Spectroscopy.PeakSearching.PeakFinder.Execute(System.Collections.Generic.IReadOnlyList{System.Double})"]

Return Value

Int32
Indices of peaks in x that satisfy all conditions. See also the other properties of this class for access to additional results. Note that most of the properties are only set if the corresponding parameter was specified.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondistance must be greater than or equal to 1 - distance
See Also