CEBL
2.1
|
Go to the source code of this file.
Functions | |
template<typename T > | |
double | logb (int base, T value) |
template<typename T > | |
double | log2 (T value) |
Matrix | chebbp2 (int N, int L, double wp, double ws1, double ws2) |
std::vector< int > | localMax (ublas::matrix< double > X) |
Matrix | makePassband (int N, int L, int Fs, double fstop1, double fpass, double fstop2) |
ublas::matrix< double > | convolve (ublas::matrix< double > x, ublas::matrix< double > y) |
FilterResult | filter (Matrix B, Matrix x, FilterState state) |
Variables | |
double const | pi = M_PI |
Matrix chebbp2 | ( | int | N, |
int | L, | ||
double | wp, | ||
double | ws1, | ||
double | ws2 | ||
) |
Definition at line 49 of file PassBandFunctions.cpp.
References cppR::apply(), cppR::cbind(), cppR::compDiv(), cppR::compProd(), convolve(), cppR::createMatrix(), cppR::fft(), localMax(), log2(), cppR::max(), cppR::min(), pi, cppR::Re(), cppR::solve(), cppR::submatrix(), and cppR::t().
Referenced by makePassband().
ublas::matrix< double > convolve | ( | ublas::matrix< double > | x, |
ublas::matrix< double > | y | ||
) |
Definition at line 384 of file PassBandFunctions.cpp.
References cppR::compProd(), cppR::Conj(), cppR::fft(), and cppR::Re().
Referenced by chebbp2().
FilterResult filter | ( | Matrix | B, |
Matrix | x, | ||
FilterState | state | ||
) |
Definition at line 432 of file PassBandFunctions.cpp.
References cppR::cbind(), cppR::createMatrix(), FilterState::empty, FilterResult::filtered, cppR::ncol(), cppR::rev(), FilterResult::state, cppR::submatrix(), cppR::writeTable(), FilterState::x, and FilterState::y.
Referenced by CEBL::MNF::apply(), DataProcess::DataProcess(), FilterConfig::getComponents(), CEBL::MNF::load(), CEBL::MNF::make(), DataProcess::process(), CEBL::MNF::save(), DataIO::saveTrainingDataToFile(), FilterConfig::setSelected(), TabMonitor::updateView(), and CEBL::PassBand::use().
std::vector<int> localMax | ( | ublas::matrix< double > | X | ) |
Definition at line 339 of file PassBandFunctions.cpp.
References cppR::t().
Referenced by chebbp2().
double log2 | ( | T | value | ) |
Definition at line 18 of file PassBandFunctions.cpp.
References logb().
double logb | ( | int | base, |
T | value | ||
) |
Definition at line 13 of file PassBandFunctions.cpp.
Matrix makePassband | ( | int | N, |
int | L, | ||
int | Fs, | ||
double | fstop1, | ||
double | fpass, | ||
double | fstop2 | ||
) |
Definition at line 368 of file PassBandFunctions.cpp.
Referenced by main(), and CEBL::PassBand::train().
double const pi = M_PI |
Definition at line 10 of file PassBandFunctions.cpp.