Click or drag to resize

AirPLS 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.3179.0 (4.8.3179.0)
Syntax
C#
public class AirPLS : AirPLSBase, IBaselineEstimation, 
	ISingleSpectrumPreprocessor, IEquatable<AirPLS>

The AirPLS type exposes the following members.

Constructors
 NameDescription
Public methodAirPLSInitializes a new instance of the AirPLS class
Top
Properties
 NameDescription
Public propertyLambda Gets or sets the smoothing parameter lambda. The default value is 100. The higher lambda is, the smoother the resulting curve will be.
(Inherited from AirPLSBase)
Public propertyMaximumNumberOfIterations Gets or sets the maximum number of iterations. The default value is 100. Usually, the number of iterations is determined by the TerminationRatio, but with this value, the maximum number of iterations can be limited to a smaller value.
(Inherited from AirPLSBase)
Public propertyOrder
(Inherited from AirPLSBase)
Public propertyScaleLambdaWithXUnits If true, lambda is scaled with the x units, so that the effect of baseline estimation is independent on the resolution of the spectrum.
(Inherited from AirPLSBase)
Public propertyTerminationRatio Gets or sets the criterion for terminating the iteration (0..1). Default is 1E-3. The iterations stops, if the L1 norm of points lying below the baseline is smaller than (TerminationRatio x L1 norm of the original spectrum). The lower the value of the StopCriterion, the less points will remain below the baseline (and the more iteration it takes).
(Inherited from AirPLSBase)
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32)
(Inherited from ALSMethodsBase)
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)
(Inherited from AirPLSBase)
Public methodFillBandMatrixOrder1
(Inherited from ALSMethodsBase)
Public methodFillBandMatrixOrder2
(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 methodUpdateBandMatrixDiagonalOrder1
(Inherited from ALSMethodsBase)
Public methodUpdateBandMatrixDiagonalOrder2
(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