Click or drag to resize

PolynomialDetrendingBase Class

Detrends spectra by fitting a polynomial to the spectrum and subtracting the fitted curve.
Inheritance Hierarchy

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

The PolynomialDetrendingBase type exposes the following members.

Constructors
 NameDescription
Protected methodPolynomialDetrendingBaseInitializes a new instance of the PolynomialDetrendingBase class
Top
Properties
 NameDescription
Public propertyDetrendingOrder Gets the polynomial order used for detrending.
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.
Public methodExport Writes this instance to XML.
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)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
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