Click or drag to resize

InterpolatedPeakFunctionFromMatrix(Int32, Int32, IReadOnlyListDouble, Boolean, IReadOnlyListDouble, IROMatrixDouble) Constructor

Initializes a new instance of the InterpolatedPeakFunctionFromMatrix class.

Namespace: Altaxo.Calc.FitFunctions.Peaks
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public InterpolatedPeakFunctionFromMatrix(
	int numberOfTerms,
	int orderOfBaselinePolynomial,
	IReadOnlyList<double> propertyValues,
	bool propertyValuesArePeakWidth,
	IReadOnlyList<double> peakCurveXValues,
	IROMatrix<double> peakCurvesYValues
)

Parameters

numberOfTerms  Int32
The number of peak terms.
orderOfBaselinePolynomial  Int32
The order of the baseline polynomial, or -1 to disable the baseline.
propertyValues  IReadOnlyListDouble
The peak positions (if propertyValuesArePeakWidth is false) or peak widths (if propertyValuesArePeakWidth is true) of the curves.
propertyValuesArePeakWidth  Boolean
If false, the property values are interpreted as peak positions; otherwise, they are interpreted as peak widths.
peakCurveXValues  IReadOnlyListDouble
The x values of the peak curves.
peakCurvesYValues  IROMatrixDouble
The y values of the peak curves. Each curve is represented by one row of the matrix.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown if numberOfTerms is negative or if orderOfBaselinePolynomial is less than -1.
See Also