Click or drag to resize

PeakFinderExecute(Double) 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 a peak's properties. For this call, the properties of this PeakFinder instance will be used (that were before set with the Set.. methods).

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

Parameters

x  Double

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

Return Value

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