Class implementing data filtering by replacing data points f(i) with a
linear combination of the data points immediately to the left and right
of f(i). The user provides the coefficients to use in the linear combination.
Static class methods are provided for generating coefficients to implement a
moving average filter and a Savitzky-Golay smoothing filter.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class MovingWindowFilter : CorrelationFilter |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class MovingWindowFilter _ Inherits CorrelationFilter |
| Visual C++ |
|---|
[SerializableAttribute] public ref class MovingWindowFilter : public CorrelationFilter |
Remarks
The filter replaces data points f(i) with a linear combination
g(i) of itself and some number of neighboring points. The neighboring
points are determined by by parameters nL, the number of points to the left,
and nR, the number of points to the right:
g(i) = sum(n = -nL, n = nR)c(n)*f(i+n)
See also
CopyC# for more boundary options and
Savitzky-Golay derivatives.
SavitzkyGolayFilter
Inheritance Hierarchy
System..::.Object
CenterSpace.NMath.Core..::.CorrelationFilter
CenterSpace.NMath.Core..::.MovingWindowFilter
CenterSpace.NMath.Core..::.CorrelationFilter
CenterSpace.NMath.Core..::.MovingWindowFilter