cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
nmrSavitzkyGolay.h File Reference
#include <cisstVector/vctDynamicVector.h>
#include <cisstNumerical/nmrExport.h>

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. More...
 

Function Documentation

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