CEBL
2.1
|
#include <PassBand.hpp>
Public Member Functions | |
PassBand () | |
ublas::matrix< double > | use (const ublas::matrix< double > &) |
use feature on data and return new matrix | |
bool | needs_training () |
training | |
void | train () |
bool | isTrained () |
![]() | |
virtual | ~Feature () |
void | setSampleRate (int sample_rate) |
virtual void | reset () |
virtual bool | needsTraining () |
![]() | |
Plugin () | |
virtual | ~Plugin () |
void | halt () |
tell classifier to halt | |
string | getName () const |
get the name of the plugin | |
virtual std::map< std::string, CEBL::Param > | getParamsList () |
get the parameter list | |
virtual void | setParamsList (std::map< std::string, CEBL::Param > &) |
set the parameter list |
Additional Inherited Members | |
![]() | |
int | sample_rate |
![]() | |
string | plugin_name |
bool | should_halt |
Definition at line 42 of file PassBand.hpp.
CEBL::PassBand::PassBand | ( | ) |
Definition at line 36 of file PassBand.cpp.
|
inlinevirtual |
Check if feature is trained.
\return
Reimplemented from CEBL::Feature.
Definition at line 92 of file PassBand.hpp.
|
inline |
training
Definition at line 90 of file PassBand.hpp.
|
virtual |
train filter from the gui parameters
Reimplemented from CEBL::Feature.
Definition at line 170 of file PassBand.cpp.
References CEBL::ConfigRow::high, CEBL::ConfigRow::low, and makePassband().
|
virtual |
use feature on data and return new matrix
featurize data and return result
Implements CEBL::Feature.
Definition at line 49 of file PassBand.cpp.
References cppR::createMatrix(), FilterState::empty, filter(), FilterResult::filtered, cppR::nrow(), cppR::rbind(), and FilterResult::state.