Click or drag to resize

PeakFittingByIncrementalPeakAdditionExecute(Double, Double, IEnumerablePeakDescription, CancellationToken) Method

Fits peaks to the provided region by incrementally adding peaks.

Namespace: Altaxo.Science.Spectroscopy.PeakFitting
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public List<PeakDescription> Execute(
	double[] xArray,
	double[] yArray,
	IEnumerable<PeakDescription> peakDescriptions,
	CancellationToken cancellationToken
)

Parameters

xArray  Double
The x-values of the region.
yArray  Double
The y-values of the region (may be modified by baseline subtraction).
peakDescriptions  IEnumerablePeakDescription
Peak descriptions from the previous peak searching step.
cancellationToken  CancellationToken
Token used to cancel this task.

Return Value

ListPeakDescription
A list of peak descriptions for the fitted peaks.
See Also