CEBL  2.1
Public Member Functions
CEBL::PassBand Class Reference

#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

Detailed Description

Definition at line 42 of file PassBand.hpp.


Constructor & Destructor Documentation

CEBL::PassBand::PassBand ( )

Definition at line 36 of file PassBand.cpp.


Member Function Documentation

bool CEBL::PassBand::isTrained ( )
inlinevirtual

Check if feature is trained.

 \return 

Reimplemented from CEBL::Feature.

Definition at line 92 of file PassBand.hpp.

bool CEBL::PassBand::needs_training ( )
inline

training

Definition at line 90 of file PassBand.hpp.

void CEBL::PassBand::train ( )
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().

ublas::matrix< double > CEBL::PassBand::use ( const ublas::matrix< double > &  data)
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.


The documentation for this class was generated from the following files: