MNE-CPP
beta 1.0
|
Processes AsA .elc files which contain the electrode positions of a EEG hat. More...
#include <layoutloader.h>
Public Types | |
typedef QSharedPointer< LayoutLoader > | SPtr |
typedef QSharedPointer< const LayoutLoader > | ConstSPtr |
Public Member Functions | |
LayoutLoader () | |
Static Public Member Functions | |
static bool | readAsaElcFile (QString path, QStringList &channelNames, QVector< QVector< double > > &location3D, QVector< QVector< double > > &location2D, QString &unit) |
static bool | readMNELoutFile (QString path, QMap< QString, QPointF > &channelData) |
Processes AsA .elc files which contain the electrode positions of a EEG hat.
Processes layout files (AsA .elc, MNE .lout) files which contain the electrode positions of a EEG/MEG hat.
Definition at line 101 of file layoutloader.h.
typedef QSharedPointer<const LayoutLoader> UTILSLIB::LayoutLoader::ConstSPtr |
Const shared pointer type for LayoutLoader.
Definition at line 105 of file layoutloader.h.
typedef QSharedPointer<LayoutLoader> UTILSLIB::LayoutLoader::SPtr |
Shared pointer type for LayoutLoader.
Definition at line 104 of file layoutloader.h.
LayoutLoader::LayoutLoader | ( | ) |
Constructs a LayoutLoader object.
Definition at line 58 of file layoutloader.cpp.
|
static |
Reads the specified ANT elc-layout file.
[in] | path | holds the file path of the elc file which is to be read. |
[in] | location3D | holds the vector to which the read 3D positions are stored. |
[in] | location2D | holds the vector to which the read 2D positions are stored. |
Definition at line 65 of file layoutloader.cpp.
|
static |
Reads the specified MNE .lout file.
[in] | path | holds the file path of the lout file which is to be read. |
[in] | channel | data holds the x,y and channel number for every channel. The map keys are the channel names (i.e. 'MEG 0113'). |
Definition at line 151 of file layoutloader.cpp.