OpenWalnut
1.5.0dev
|
Class which calculates a source position from an EEG recording at a given time position. More...
#include <WEEGSourceCalculator.h>
Public Member Functions | |
WEEGSourceCalculator (const std::shared_ptr< const WEEG2 > eeg) | |
Constructor. More... | |
WPosition | calculate (const std::shared_ptr< const WEEGEvent > event) const |
Does the calculation. More... | |
Private Attributes | |
const std::shared_ptr< const WEEG2 > | m_eeg |
pointer to the EEG dataset More... | |
std::vector< bool > | m_hasPosition |
vector which saves for each channel whether there exists a position in the EEG dataset or not More... | |
std::size_t | m_numPositions |
how many channels with positions exist in the EEG dataset More... | |
Class which calculates a source position from an EEG recording at a given time position.
Definition at line 42 of file WEEGSourceCalculator.h.
|
explicit |
Constructor.
eeg | pointer to the EEG dataset |
Definition at line 40 of file WEEGSourceCalculator.cpp.
References m_eeg, m_hasPosition, and m_numPositions.
Does the calculation.
event | an event marking a time position |
Definition at line 63 of file WEEGSourceCalculator.cpp.
References m_eeg, m_hasPosition, and m_numPositions.
|
private |
pointer to the EEG dataset
Definition at line 65 of file WEEGSourceCalculator.h.
Referenced by calculate(), and WEEGSourceCalculator().
|
private |
vector which saves for each channel whether there exists a position in the EEG dataset or not
Definition at line 71 of file WEEGSourceCalculator.h.
Referenced by calculate(), and WEEGSourceCalculator().
|
private |
how many channels with positions exist in the EEG dataset
Definition at line 76 of file WEEGSourceCalculator.h.
Referenced by calculate(), and WEEGSourceCalculator().