CEBL
2.1
|
#include <DataProcess.hpp>
Public Member Functions | |
DataProcess (CEBLModel *model) | |
~DataProcess () | |
EEGTrainingData | process (EEGTrainingData &data) |
EEGData & | process (EEGData &data) |
EEGData & | process (EEGData &data, bool remove_disabled, bool reference, bool filter) |
void | setRemoveEnabled (bool r) |
void | setFilterEnabled (bool f) |
void | setReferenceEnabled (bool r) |
bool | getRemoveEnabled () |
bool | getFilterEnabled () |
bool | getReferenceEnabled () |
Class to process data based on configurations.
Definition at line 35 of file DataProcess.hpp.
DataProcess::DataProcess | ( | CEBLModel * | model | ) |
Definition at line 14 of file DataProcess.cpp.
References filter().
DataProcess::~DataProcess | ( | ) |
Definition at line 22 of file DataProcess.cpp.
|
inline |
Definition at line 61 of file DataProcess.hpp.
Referenced by CEBLModel::processGetFilterEnabled().
|
inline |
Definition at line 62 of file DataProcess.hpp.
Referenced by CEBLModel::processGetReferenceEnabled().
|
inline |
Definition at line 60 of file DataProcess.hpp.
Referenced by CEBLModel::processGetRemoveEnabled().
EEGTrainingData DataProcess::process | ( | EEGTrainingData & | data | ) |
Definition at line 30 of file DataProcess.cpp.
References EEGTrainingData::get(), EEGTrainingData::numClasses(), EEGTrainingData::numSequences(), EEGTrainingData::reserve(), and EEGTrainingData::set().
Referenced by CEBLModel::dataRead(), CEBLModel::dataReadAll(), FilterConfig::getComponents(), CEBLModel::processData(), and FilterConfig::train().
Definition at line 47 of file DataProcess.cpp.
References filter().
EEGData & DataProcess::process | ( | EEGData & | data, |
bool | remove_disabled, | ||
bool | reference, | ||
bool | filter | ||
) |
Definition at line 52 of file DataProcess.cpp.
References EEGData::getMatrix(), EEGData::nrow(), cppR::rowMask(), EEGData::size1(), EEGData::size2(), and cppR::submatrix().
|
inline |
Definition at line 56 of file DataProcess.hpp.
Referenced by CEBLModel::processSetFilterEnabled().
|
inline |
Definition at line 57 of file DataProcess.hpp.
Referenced by CEBLModel::processSetReferenceEnabled().
|
inline |
Definition at line 55 of file DataProcess.hpp.
Referenced by CEBLModel::processSetRemoveEnabled().