Click or drag to resize

AirPLSBase Class

Implements the adaptive iteratively reweighted penalized least squares algorithm proposed by Zhang et al. [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 AirPLSBase : ALSMethodsBase, 
	IImmutable, IEquatable<AirPLSBase>

The AirPLSBase type exposes the following members.

Constructors
 NameDescription
Protected methodAirPLSBaseInitializes a new instance of the AirPLSBase class
Top
Properties
 NameDescription
Public propertyLambda Gets the smoothing parameter lambda. The default value is 100. The higher lambda is, the smoother the resulting curve will be.
Public propertyMaximumNumberOfIterations Gets the maximum number of iterations. The default value is 100. Usually, the number of iterations is determined by TerminationRatio, but with this value the maximum number of iterations can be limited.
Public propertyOrder Gets the order of the difference penalty.
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.
Public propertyTerminationRatio Gets the criterion for terminating the iteration (0..1). The default is 1E-3. The iteration stops if the L1 norm of points lying below the baseline is smaller than (TerminationRatio × L1 norm of the original spectrum). The lower the stop criterion value is, the fewer points will remain below the baseline (at the cost of more iterations).
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] Z.-M. Zhang et al., Baseline correction using adaptive iteratively reweighted penalized least squares, Analyst, 2010, 135, 1138–1146, doi:10.1039/b922045c

See Also