ldas-tools-filters
2.6.6
|
#include <filters_config.h>
#include <iostream>
#include <complex>
#include <stdexcept>
#include <string>
#include <vector>
#include "ldastoolsal/unittest.h"
#include "filters/LinFilt.hh"
Functions | |
void | mkpath (std::string &path) |
template<class T > | |
void | read_data (const string &filename, valarray< T > &data) |
template<class T > | |
double | tol () |
template<> | |
double | tol< double > () |
template<class TCoeffs , class TIn > | |
bool | testTrivial () |
bool | testExcept (const std::string &name, const valarray< float > &a, const valarray< float > &b) |
bool | testExceptions () |
template<class TCoeffs , class TIn > | |
bool | testFIR (const std::string &ttstr) |
template<class TCoeffs , class TIn > | |
bool | testIIR (const std::string &ttstr) |
template<class TCoeffs , class TIn > | |
bool | checkGenericFilter (const valarray< TIn > &x, const valarray< double > &yd, LinFilt< TCoeffs, TIn > &lf, const string &name) |
template<class TCoeffs , class TIn > | |
bool | testVersusMatlab (const std::string &ttstr) |
template<class TCoeffs > | |
bool | checkFloatFilter (const valarray< float > &x, const valarray< TCoeffs > &b, const valarray< TCoeffs > &a, const string &name) |
template<class TCoeffs > | |
bool | testFloatFilter (const std::string &ttstr) |
template<class PCoeffs , class PIn > | |
bool | testCFIR (const std::string &ttstr) |
template<class PCoeffs , class PIn > | |
bool | testCIIR (const std::string &ttstr) |
template<class TCoeffs , class TIn > | |
bool | testPZFilter (const std::string &ttstr) |
template<class PCoeffs , class PIn > | |
bool | testCPZFilter (const std::string &ttstr) |
int | main (int ArgC, char **ArgV) |
Variables | |
UnitTest | Test |
const size_t | gInlen = 50 |
const double | gIndata [gInlen] |
bool checkFloatFilter | ( | const valarray< float > & | x, |
const valarray< TCoeffs > & | b, | ||
const valarray< TCoeffs > & | a, | ||
const string & | name | ||
) |
bool checkGenericFilter | ( | const valarray< TIn > & | x, |
const valarray< double > & | yd, | ||
LinFilt< TCoeffs, TIn > & | lf, | ||
const string & | name | ||
) |
int main | ( | int | ArgC, |
char ** | ArgV | ||
) |
void mkpath | ( | std::string & | path | ) |
void read_data | ( | const string & | filename, |
valarray< T > & | data | ||
) |
bool testCFIR | ( | const std::string & | ttstr | ) |
bool testCIIR | ( | const std::string & | ttstr | ) |
bool testCPZFilter | ( | const std::string & | ttstr | ) |
bool testExcept | ( | const std::string & | name, |
const valarray< float > & | a, | ||
const valarray< float > & | b | ||
) |
bool testExceptions | ( | ) |
bool testFIR | ( | const std::string & | ttstr | ) |
bool testFloatFilter | ( | const std::string & | ttstr | ) |
bool testIIR | ( | const std::string & | ttstr | ) |
bool testPZFilter | ( | const std::string & | ttstr | ) |
bool testTrivial | ( | ) |
bool testVersusMatlab | ( | const std::string & | ttstr | ) |
double tol | ( | ) |
double tol< double > | ( | ) |
const double gIndata[gInlen] |
const size_t gInlen = 50 |
UnitTest Test |