Click or drag to resize

PolynomialDetrending Class

This class detrends all spectra. This is done by fitting a polynomial to the spectrum (x value is simply the index of data point), and then subtracting the fit curve from the spectrum. The degree of the polynomial can be choosen between 0 (the mean is subtracted), 1 (a fitted straight line is subtracted).
Inheritance Hierarchy
SystemObject
  Altaxo.Science.Spectroscopy.BaselineEstimationPolynomialDetrendingBase
    Altaxo.Science.Spectroscopy.BaselineEstimationPolynomialDetrending

Namespace: Altaxo.Science.Spectroscopy.BaselineEstimation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class PolynomialDetrending : PolynomialDetrendingBase, 
	IBaselineEstimation, ISingleSpectrumPreprocessor, 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
(Inherited from PolynomialDetrendingBase)
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32)
(Inherited from PolynomialDetrendingBase)
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble) Executes the baseline estimation algorithm with the provided spectrum.
(Inherited from PolynomialDetrendingBase)
Public methodExport
(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
See Also