427 FilterKalman(
const std::vector< std::pair<std::string, std::string> >& vecArgs,
const std::string& name,
const Config& cfg);
428 virtual void process(
const unsigned int& param,
const std::vector<MeteoData>& ivec,
429 std::vector<MeteoData>& ovec);
431 Matrix buildInitialStates(
const std::vector<std::string>& xx_str,
const std::vector<size_t>& meas_idx,
432 const std::vector<MeteoData>& ivec,
const size_t& nr_observations)
const;
433 size_t buildObservationsMatrix(
const unsigned int& param,
const std::vector<MeteoData>& ivec,
const size_t& nx,
434 Matrix& zz, std::vector<size_t>& meas_idx)
const;
435 Matrix buildControlSignal(
const size_t& nx,
const size_t& TT,
const std::vector<MeteoData>& ivec)
const;
436 Matrix parseMatrix(
const std::string& line,
const size_t& rows,
const size_t& cols,
437 const std::string& block)
const;
438 std::vector<std::string> parseSystemMatrix(
const std::string& line,
const size_t& rows)
const;
439 Matrix buildSystemMatrix(
const std::vector<std::string>& AA_str,
const size_t& sz,
const double& dt,
440 const std::vector<MeteoData>& ivec,
const size_t& kk)
const;
441 double substitute(
const std::string& expr,
const double& dt,
const std::vector<MeteoData>& ivec,
const size_t& kk)
const;
442 Matrix extractInputMatrix(
const std::vector<std::string>& vecParams,
const std::vector<MeteoData>& mvec,
443 const size_t& kk)
const;
444 void assertInputCovariances(
const std::vector<MeteoData>& ivec,
const size_t& nx,
bool& has_RR_params,
445 bool& has_QQ_params)
const;
446 Matrix bloatMatrix(
const std::string& line,
const size_t& rows,
const size_t& cols,
const std::string& block)
const;
447 std::vector<double> buildTimeVector(
const std::vector<MeteoData>& ivec)
const;
448 bool checkNodata(
const Matrix& ivec)
const;
449 bool findFirstDatapoint(
const std::vector<MeteoData>& ivec,
const size_t& param,
double& retval)
const;
450 void parse_args(
const std::vector< std::pair<std::string, std::string> >& vecArgs);
451 void cleanBrackets(std::string& iline)
const;
453 std::string mat_in_xx, mat_in_AA, mat_in_HH, mat_in_PP, mat_in_QQ, mat_in_RR, mat_in_BB, mat_in_uu;
454 std::vector<std::string> meas_params;
455 std::vector<std::string> error_params;
456 std::vector<std::string> QQ_params, RR_params;
458 bool filter_all_params;
459 bool out_error_stddev;
462 std::string unrecognized_keys;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
A statistical filter for state likelihood estimation: the Kalman filter.
Definition: FilterKalman.h:425
FilterKalman(const std::vector< std::pair< std::string, std::string > > &vecArgs, const std::string &name, const Config &cfg)
Definition: FilterKalman.cc:25
virtual void process(const unsigned int ¶m, const std::vector< MeteoData > &ivec, std::vector< MeteoData > &ovec)
The filtering routine as called by the processing toolchain.
Definition: FilterKalman.cc:44
This class implements the basic operations on matrices. Elements are access in matrix notation: that ...
Definition: Matrix.h:42
The base class for all filters that provides the interface and a few helper methods.
Definition: ProcessingBlock.h:67