Click or drag to resize

ALSBase Class

Implements the Asymmetric Least Squares method for baseline estimation, proposed by Eilers and Boelens (2005) [1].
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 ALSBase : ALSMethodsBase, 
	IEquatable<ALSBase>

The ALSBase type exposes the following members.

Constructors
 NameDescription
Protected methodALSBaseInitializes a new instance of the ALSBase class
Top
Properties
 NameDescription
Public propertyLambda Gets or sets the smoothing parameter lambda. The default value is 1E6. The higher lambda is, the smoother the resulting curve will be.
Public propertyMaximumNumberOfIterations Gets or sets the maximum number of iterations. The default value is 10.
Public propertyOrder Gets the order of the difference penalty.
Public propertyP Gets or sets the weighting parameter. The default value is 0.1. A value of 0.5 leads to symmetric weighting of positive and negative deviations. Values less than 0.5 lead to stronger suppression of (positive) peaks.
Public propertyScaleLambdaWithXUnits Gets a value indicating whether Lambda is scaled with the x-units, so that the effect of baseline estimation is independent of the resolution of the spectrum.
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32)
(Inherited from ALSMethodsBase)
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)
(Overrides ALSMethodsBaseExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble))
Public methodFillBandMatrixOrder1 Fills a tridiagonal band matrix for a first-order difference penalty.
(Inherited from ALSMethodsBase)
Public methodFillBandMatrixOrder2 Fills a pentadiagonal band matrix for a second-order difference penalty.
(Inherited from ALSMethodsBase)
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 methodToString
(Overrides ALSMethodsBase.ToString)
Public methodUpdateBandMatrixDiagonalOrder1 Updates only the diagonal of a tridiagonal band matrix for a first-order difference penalty.
(Inherited from ALSMethodsBase)
Public methodUpdateBandMatrixDiagonalOrder2 Updates only the diagonal of a pentadiagonal band matrix for a second-order difference penalty.
(Inherited from ALSMethodsBase)
Top
Remarks

References:

[1] P. H. C. Eilers and H. F. M. Boelens, Baseline correction with asymmetric least squares smoothing, Leiden University Medical Centre report, 2005

See Also