Click or drag to resize

ArPLSBase Class

Implements the asymmetrically reweighted penalized least squares algorithm proposed by Baek 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 ArPLSBase : ALSMethodsBase, 
	IEquatable<ArPLSBase>

The ArPLSBase type exposes the following members.

Constructors
 NameDescription
Protected methodArPLSBaseInitializes a new instance of the ArPLSBase class
Top
Properties
 NameDescription
Public propertyLambda Gets or sets the smoothing parameter lambda. 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 0.05. The iterations stops, if the L2 norm of the differences between actual and previous weights falls below (TerminationRatio x L2 norm of the previous weights). The lower the value is, the more iterations will be executed.
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] Sung-June Baek et al., Baseline correction using asymmetrically reweighted penalized least squares smoothing, Analyst, 2015, 140, 250-257 doi: 10.1039/C4AN01061B

See Also