#include <lpfilter.h>
Public Member Functions | |
LPFilter (double deltaT, double cutoffFrequency, int numElements) | |
bool | update (std::vector< double > input, std::vector< double > &output) |
Private Attributes | |
double | a0 |
double | a1 |
double | a2 |
double | b1 |
double | b2 |
std::vector< double > | in1 |
std::vector< double > | in2 |
bool | initialized |
int | noElements |
double | omega_a |
std::vector< double > | out1 |
std::vector< double > | out2 |
Definition at line 8 of file lpfilter.h.
LPFilter::LPFilter | ( | double | deltaT, |
double | cutoffFrequency, | ||
int | numElements | ||
) |
Definition at line 18 of file lpfilter.cpp.
bool LPFilter::update | ( | std::vector< double > | input, |
std::vector< double > & | output | ||
) |
Definition at line 66 of file lpfilter.cpp.
double LPFilter::a0 [private] |
Definition at line 19 of file lpfilter.h.
double LPFilter::a1 [private] |
Definition at line 19 of file lpfilter.h.
double LPFilter::a2 [private] |
Definition at line 19 of file lpfilter.h.
double LPFilter::b1 [private] |
Definition at line 19 of file lpfilter.h.
double LPFilter::b2 [private] |
Definition at line 19 of file lpfilter.h.
std::vector<double> LPFilter::in1 [private] |
Definition at line 17 of file lpfilter.h.
std::vector<double> LPFilter::in2 [private] |
Definition at line 17 of file lpfilter.h.
bool LPFilter::initialized [private] |
Definition at line 15 of file lpfilter.h.
int LPFilter::noElements [private] |
Definition at line 16 of file lpfilter.h.
double LPFilter::omega_a [private] |
Definition at line 18 of file lpfilter.h.
std::vector<double> LPFilter::out1 [private] |
Definition at line 17 of file lpfilter.h.
std::vector<double> LPFilter::out2 [private] |
Definition at line 17 of file lpfilter.h.