WhittakerHendersonSmootherSmooth(Double, Int32, Double) Method |
Smooths the data with the given penalty order and smoothing parameter
lambda.
When smoothing multiple data sets with the same length, using the constructor and then
Smooth(Double, Double) will be more efficient.
Namespace: Altaxo.Calc.RegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double[] Smooth(
double[] data,
int order,
double lambda
)
Parameters
- data Double
- The input data.
- order Int32
- Order of the derivative that will be penalized (typically 2 or 3).
- lambda Double
- Smoothing parameter; should not be excessively high (see BandwidthToLambda(Int32, Double)).
Return Value
DoubleThe smoothed data.
See Also