WhittakerHendersonSmoother Constructor |
Creates a
WhittakerHendersonSmoother for data of a given length and with a given penalty order
and smoothing parameter
lambda.
This constructor is useful for repeated smoothing operations with the same parameters and data sets of the same length.
Otherwise, the static
Smooth(Double, Int32, Double) method is more convenient.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic WhittakerHendersonSmoother(
int length,
int order,
double lambda
)
Parameters
- length Int32
- Number of data points in the data set that will be smoothed.
- order Int32
- Order of the derivative that will be penalized (typically 2 or 3).
- lambda Double
- Smoothing parameter; see BandwidthToLambda(Int32, Double).
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown if order is outside the supported range, or if length is too small
for the chosen order.
|
See Also