Click or drag to resize

PeakFittingSeparatelyExecute(Double, Double, IEnumerablePeakDescription, CancellationToken) Method

Fits each peak described by peakDescriptions individually.

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 for the region to be fitted.
yArray  Double
The y-values for the region to be fitted.
peakDescriptions  IEnumerablePeakDescription
The peaks to be fitted.
cancellationToken  CancellationToken
Token used to cancel this task.

Return Value

ListPeakDescription
A list of peak fitting results, in the same order as peakDescriptions.
See Also