Click or drag to resize

PolynomialDetrending Class

Detrends spectra by fitting a polynomial to the spectrum and subtracting the fitted curve.
Inheritance Hierarchy
SystemObject
  Altaxo.Science.Spectroscopy.BaselineEstimationPolynomialDetrendingBase
    Altaxo.Science.Spectroscopy.BaselineEvaluationPolynomialDetrending

Namespace: Altaxo.Science.Spectroscopy.BaselineEvaluation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class PolynomialDetrending : PolynomialDetrendingBase, 
	IEquatable<PolynomialDetrending>

The PolynomialDetrending type exposes the following members.

Constructors
 NameDescription
Public methodPolynomialDetrendingInitializes a new instance of the PolynomialDetrending class
Top
Properties
 NameDescription
Public propertyDetrendingOrder Gets the polynomial order used for detrending.
(Inherited from PolynomialDetrendingBase)
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32) 
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble) Executes the baseline estimation algorithm for the provided spectrum and writes the estimated baseline into resultingBaseline.
(Inherited from PolynomialDetrendingBase)
Public methodExport Writes this instance to XML.
(Inherited from PolynomialDetrendingBase)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Top
Remarks
The x-value used during fitting is the index of the data point. The degree of the polynomial can be chosen between 0 (subtract the mean), 1 (subtract a fitted straight line), and 2 (subtract a fitted quadratic curve).
See Also