#include <fir_filter.h>
Public Member Functions | |
void | set_coef (int ord, float *nc, float gain) |
int | read_coef_file (std::string fname) |
int | get_order () |
void | print_filter () |
float | apply_filter (float *data, int len) |
Apply the filter to the data fector of length len. More... | |
Protected Attributes | |
int | order |
float * | coef |
float | gain |
Definition at line 28 of file fir_filter.h.
float VisAO::fir_filter::apply_filter | ( | float * | data, |
int | len | ||
) |
The newest point should be data[len-1]. Applies at most order coefficients.
Definition at line 75 of file fir_filter.cpp.