The BCI class provides an EEG BCI.
More...
#include <bci.h>
|
void | paintFeatures (MyQList features, bool bTrigerActivated) |
|
The BCI class provides an EEG BCI.
BCI...
Definition at line 103 of file bci.h.
double BCI::applyClassificationCalcConcurrentlyOnSensorLevel |
( |
QList< double > & |
featData | ) |
|
|
protected |
Classifies the features on sensor level
- Parameters
-
[in] | featData | QList<double> holds the feature data point (i.e. 2 electrodes make this parameter have size of 2). |
[out] | double | calculated classification value. |
Definition at line 490 of file bci.cpp.
QPair< int, QList< double > > BCI::applyFeatureCalcConcurrentlyOnSensorLevel |
( |
const QPair< int, RowVectorXd > & |
chdata | ) |
|
|
protected |
Calculates the features on sensor level
- Parameters
-
[in] | chdata | QPair with number of the row and the data samples as a RowVectorXd. |
[out] | QPair<int,QList<double>> | calculated features. |
Definition at line 465 of file bci.cpp.
void BCI::applyFilterOperatorConcurrently |
( |
QPair< int, RowVectorXd > & |
chdata | ) |
|
|
protected |
Calculates the filtered signal of chdata
- Parameters
-
[in] | chdata | QPair with number of the row and the data samples as a RowVectorXd. |
Definition at line 457 of file bci.cpp.
void BCI::applyMeanCorrectionConcurrently |
( |
QPair< int, RowVectorXd > & |
rowdata | ) |
|
|
protected |
Calculates the filtered signal of chdata
- Parameters
-
[in] | rowdata | QPair with number of the row and the data samples as a RowVectorXd. |
Definition at line 449 of file bci.cpp.
void BCI::BCIOnSensorLevel |
( |
| ) |
|
|
protected |
Do BCI stuff with data received from sensor level
Definition at line 602 of file bci.cpp.
void BCI::BCIOnSourceLevel |
( |
| ) |
|
|
protected |
Do BCI stuff with data received from source level
Definition at line 870 of file bci.cpp.
double BCI::classificationBoundaryValue |
( |
const QList< double > & |
featData | ) |
|
|
protected |
Calculates the function value of the decision function (boundary) for a given feature point
- Parameters
-
[in] | featData | QList<double> holds the feature data point (i.e. 2 electrodes make this parameter have size of 2). |
[out] | double | function value. |
Definition at line 498 of file bci.cpp.
void BCI::clearClassifications |
( |
| ) |
|
|
protected |
Clears all classification results
Definition at line 527 of file bci.cpp.
void BCI::clearFeatures |
( |
| ) |
|
|
protected |
Clears features
Definition at line 517 of file bci.cpp.
QSharedPointer< IPlugin > BCI::clone |
( |
| ) |
const |
|
virtual |
QString BCI::getName |
( |
| ) |
const |
|
virtual |
Returns the plugin name. Pure virtual method inherited by IPlugin.
- Returns
- the name of the IAlgorithm.
Implements MNEX::IAlgorithm.
Definition at line 333 of file bci.cpp.
Returns the plugin type. Pure virtual method inherited by IPlugin.
- Returns
- type of the IAlgorithm
Implements MNEX::IAlgorithm.
Definition at line 325 of file bci.cpp.
bool BCI::hasThresholdArtefact |
( |
const QList< QPair< int, RowVectorXd > > & |
data | ) |
|
|
protected |
Check for artefact in data
Definition at line 537 of file bci.cpp.
bool BCI::lookForTrigger |
( |
const MatrixXd & |
data | ) |
|
|
protected |
Look for trigger in stim channel
Definition at line 571 of file bci.cpp.
The starting point for the thread. After calling start(), the newly created thread calls this function. Returning from this method will end the execution of the thread. Pure virtual method inherited by QThread.
Implements MNEX::IAlgorithm.
Definition at line 586 of file bci.cpp.
QWidget * BCI::setupWidget |
( |
| ) |
|
|
virtual |
Returns the set up widget for configuration of IAlgorithm. Pure virtual method inherited by IPlugin.
- Returns
- the setup widget.
Implements MNEX::IAlgorithm.
Definition at line 341 of file bci.cpp.
Is called when plugin is detached of the stage. Can be used to safe settings.
Implements MNEX::IAlgorithm.
Definition at line 184 of file bci.cpp.
This update function gets called whenever the input buffer stream from the TMSI plugin is full and need to be emptied by this BCI plugin.
- Parameters
-
[in] | pMeasurement | measurement object. |
Definition at line 354 of file bci.cpp.
This update function gets called whenever the input buffer stream from the Sourcelab plugin is full and need to be emptied by this BCI plugin.
- Parameters
-
[in] | pMeasurement | measurement object. |
Definition at line 424 of file bci.cpp.
The documentation for this class was generated from the following files:
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_x/plugins/bci/bci.h
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_x/plugins/bci/bci.cpp