Class generates the Savitzy-Golay filter coefficients for smoothing data
or computing smoothed derivatives. Smoothed derivatives can be found
up to the order of the fitting polynomial.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class SavitzkyGolay : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class SavitzkyGolay _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class SavitzkyGolay : ICloneable |
Examples
int nL = 2, nR = 2, m = 2;
SavitzkyGolay sg = new SavitzkyGolay(nL, nR, m);
DoubleVector coeffs = sg.SavitzkyGolayFirstDerivativeCoefficients();