Public Member Functions | Private Attributes
LPFilter Class Reference

#include <lpfilter.h>

List of all members.

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

Detailed Description

Definition at line 8 of file lpfilter.h.


Constructor & Destructor Documentation

LPFilter::LPFilter ( double  deltaT,
double  cutoffFrequency,
int  numElements 
)

Definition at line 18 of file lpfilter.cpp.


Member Function Documentation

bool LPFilter::update ( std::vector< double >  input,
std::vector< double > &  output 
)

Definition at line 66 of file lpfilter.cpp.


Member Data Documentation

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.


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


netft_utils
Author(s): Alex von Sternberg , Derek King, Andy Zelenak
autogenerated on Sat Jul 15 2017 02:45:58