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.3179.0 (4.8.3179.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 or sets the smoothing parameter lambda. The default value is 100. 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 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.
Public propertyOrder 
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.
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).
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32)
(Inherited from ALSMethodsBase)
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)
(Overrides ALSMethodsBaseExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble))
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 methodToString
(Overrides ALSMethodsBase.ToString)
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