25 #ifndef WEEGSOURCECALCULATOR_H
26 #define WEEGSOURCECALCULATOR_H
33 #include "WEEGEvent.h"
34 #include "core/common/math/linearAlgebra/WPosition.h"
35 #include "core/dataHandler/WEEG2.h"
65 const std::shared_ptr< const WEEG2 >
m_eeg;
Class which calculates a source position from an EEG recording at a given time position.
const std::shared_ptr< const WEEG2 > m_eeg
pointer to the EEG dataset
std::vector< bool > m_hasPosition
vector which saves for each channel whether there exists a position in the EEG dataset or not
std::size_t m_numPositions
how many channels with positions exist in the EEG dataset
WEEGSourceCalculator(const std::shared_ptr< const WEEG2 > eeg)
Constructor.
WPosition calculate(const std::shared_ptr< const WEEGEvent > event) const
Does the calculation.
This only is a 3d double vector.