Click or drag to resize

FourPointPeakEvaluationDataSourceCalculateArea 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 CalculateArea(
	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

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