57 ProcIIR(
const std::vector< std::pair<std::string, std::string> >& vecArgs,
const std::string& name,
const Config& cfg);
59 virtual void process(
const unsigned int& param,
const std::vector<MeteoData>& ivec,
60 std::vector<MeteoData>& ovec);
63 typedef enum IIR_TYPE {
69 static void getFilterParameters(
const IIR_Type& i_type,
const bool& isLowPass,
const double& n,
double &i_g,
double &i_p,
double &i_c);
70 static double filterPoint(
const double& raw_val,
const double A[3],
const double B[3], std::vector<double> &X, std::vector<double> &Y);
71 void computeCoefficients(
const double& fs,
const double& f0,
double A[3],
double B[3])
const;
73 void parse_args(
const std::vector< std::pair<std::string, std::string> >& vecArgs);
78 bool bidirectional, low_pass;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
Infinite Impulse Response (IIR) filter.
Definition: ProcIIR.h:55
virtual void process(const unsigned int ¶m, const std::vector< MeteoData > &ivec, std::vector< MeteoData > &ovec)
Definition: ProcIIR.cc:37
ProcIIR(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg)
Definition: ProcIIR.cc:27
The base class for all filters that provides the interface and a few helper methods.
Definition: ProcessingBlock.h:67