The VisAO Camera
VisAO::fir_filter Class Reference

#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
 

Detailed Description

Todo:
fir_filter: need error checking in read_coef_file

Definition at line 28 of file fir_filter.h.

Member Function Documentation

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.


The documentation for this class was generated from the following files: