|
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 () |
Public Member Functions inherited from CEBL::Feature | |
| virtual | ~Feature () |
| void | setSampleRate (int sample_rate) |
| virtual void | reset () |
| virtual bool | needsTraining () |
Public Member Functions inherited from CEBL::Plugin | |
| 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 | |
Protected Attributes inherited from CEBL::Feature | |
| int | sample_rate |
Protected Attributes inherited from CEBL::Plugin | |
| 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.
1.8.1.1