FourPointPeakEvaluationDataSourceCalculateArea Method |
Gets the area.
Namespace: Altaxo.Science.SignalsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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
DoubleThe area under the y-values to the baseline.
See Also