Click or drag to resize

FourPointPeakEvaluationDataSourceCalculatePeakParameters Method

Gets the area.

Namespace: Altaxo.Science.Signals
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static (double Height, double PeakX, double FWHM) CalculatePeakParameters(
	double[] x,
	double[] y,
	QuickLinearRegression baselineRegression,
	double index1,
	double index2
)

Parameters

x  Double
The x values.
y  Double
The y values.
baselineRegression  QuickLinearRegression
The regression that forms the baseline of the peak.
index1  Double
The start index (start of the integration).
index2  Double
The end index (end of the integration).

Return Value

ValueTupleDouble, Double, Double
The area under the y-values to the baseline.
See Also