Click or drag to resize

WeightedSavitzkyGolaySmoother Constructor

Creates a WeightedSavitzkyGolaySmoother with the given weight function, polynomial degree, and kernel half-width. This constructor is useful for repeated smoothing operations with the same parameters. Otherwise, the static Smooth(Double, Double, WeightedSavitzkyGolaySmootherWeightType, Int32, Int32) method is more convenient.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public WeightedSavitzkyGolaySmoother(
	WeightedSavitzkyGolaySmootherWeightType weightType,
	int degree,
	int m
)

Parameters

weightType  WeightedSavitzkyGolaySmootherWeightType
Type of the weight function.
degree  Int32
Degree of the polynomial fit.
m  Int32
Half-width of the kernel.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if m is too small for degree.
See Also