cisst-saw
Loading...
Searching...
No Matches
nmrSavitzkyGolay.h File Reference

Go to the source code of this file.

Functions

vctDynamicVector< double > CISST_EXPORT nmrSavitzkyGolay (int K, int D, int NL, int NR)
 Savitzky Golay filter design.

Function Documentation

◆ nmrSavitzkyGolay()

vctDynamicVector< double > CISST_EXPORT nmrSavitzkyGolay ( int K,
int D,
int NL,
int NR )

Savitzky Golay filter design.

Creates a Savitzky-Golay FIR filter. The filter is defined by the order K of a polynomial, which derivative D to be filtered and the support defined by the filter size determined by the number of samples NL left of a data point and the number of samples NR right of the data point. For a causal filter NR=0