Ar |
public abstract class ArPLSBase : ALSMethodsBase, IEquatable<ArPLSBase>
The ArPLSBase type exposes the following members.
| Name | Description | |
|---|---|---|
| Lambda | Gets the smoothing parameter lambda. The higher lambda is, the smoother the resulting curve will be. | |
| MaximumNumberOfIterations | 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. | |
| Order | Gets the order of the difference penalty. | |
| ScaleLambdaWithXUnits | 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. | |
| TerminationRatio | Gets the criterion for terminating the iteration (0..1). The default is 0.05. The iteration stops if the L2 norm of the differences between the actual and the previous weights falls below (TerminationRatio × L2 norm of the previous weights). The lower the value is, the more iterations will be executed. |
| Name | Description | |
|---|---|---|
| Execute(Double, Double, Int32) | (Inherited from ALSMethodsBase) | |
| Execute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble) | (Overrides ALSMethodsBaseExecute(ReadOnlySpanDouble, ReadOnlySpanDouble, SpanDouble)) | |
| FillBandMatrixOrder1 |
Fills a tridiagonal band matrix for a first-order difference penalty.
(Inherited from ALSMethodsBase) | |
| FillBandMatrixOrder2 |
Fills a pentadiagonal band matrix for a second-order difference penalty.
(Inherited from ALSMethodsBase) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | (Overrides ALSMethodsBase.ToString) | |
| UpdateBandMatrixDiagonalOrder1 |
Updates only the diagonal of a tridiagonal band matrix for a first-order difference penalty.
(Inherited from ALSMethodsBase) | |
| UpdateBandMatrixDiagonalOrder2 |
Updates only the diagonal of a pentadiagonal band matrix for a second-order difference penalty.
(Inherited from ALSMethodsBase) |
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