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.BaselineEvaluation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class AirPLS : AirPLSBase, IBaselineEvaluation, 
	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 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 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.
(Inherited from AirPLSBase)
Public propertyOrder Gets the order of the difference penalty.
(Inherited from AirPLSBase)
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.
(Inherited from AirPLSBase)
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).
(Inherited from AirPLSBase)
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32) Executes the processor.
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)
(Inherited from AirPLSBase)
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 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