Click or drag to resize

ArPLS Class

Implements the asymmetrically reweighted penalized least squares algorithm proposed by Baek et al [1].
Inheritance Hierarchy

Namespace: Altaxo.Science.Spectroscopy.BaselineEvaluation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ArPLS : ArPLSBase, IBaselineEvaluation, 
	ISingleSpectrumPreprocessor, IEquatable<ArPLS>

The ArPLS type exposes the following members.

Constructors
 NameDescription
Public methodArPLSInitializes a new instance of the ArPLS class
Top
Properties
 NameDescription
Public propertyLambda Gets or sets the smoothing parameter lambda. The higher lambda is, the smoother the resulting curve will be.
(Inherited from ArPLSBase)
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 ArPLSBase)
Public propertyOrder
(Inherited from ArPLSBase)
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 ArPLSBase)
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.
(Inherited from ArPLSBase)
Top
Methods
 NameDescription
Public methodExecute(Double, Double, Int32) Executes the processor.
Public methodExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)
(Inherited from ArPLSBase)
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] 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