Constructs a Savitzky-Golay helper class to generate Savitzky-Golay filtering coefficients.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public SavitzkyGolay(
	int NumberLeft,
	int NumberRight,
	int PolynomialDegree
)
Visual Basic (Declaration)
Public Sub New ( _
	NumberLeft As Integer, _
	NumberRight As Integer, _
	PolynomialDegree As Integer _
)
Visual C++
public:
SavitzkyGolay(
	int NumberLeft, 
	int NumberRight, 
	int PolynomialDegree
)

Parameters

NumberLeft
Type: System..::.Int32
The number of samples left of center.
NumberRight
Type: System..::.Int32
The number of samples right of center.
PolynomialDegree
Type: System..::.Int32
The degree of the fitting polynomial.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException All constructor parameters must be greater that 0.
CenterSpace.NMath.Core..::.InvalidArgumentException "The polynomial degree must be less than the window width. The window width is NumberLeft + NumberRight + 1."

See Also