Processes selection files (mne .sel) files which contain the chanels for each selection group.
More...
#include <selectionio.h>
|
static bool | readMNESelFile (QString path, QMultiMap< QString, QStringList > &selectionMap) |
|
static bool | readMNESelFile (const std::string &path, std::multimap< std::string, std::vector< std::string >> &selectionMap) |
|
static bool | readBrainstormMonFile (QString path, QMultiMap< QString, QStringList > &selectionMap) |
|
static bool | readBrainstormMonFile (const std::string &path, std::multimap< std::string, std::vector< std::string >> &selectionMap) |
|
static bool | writeMNESelFile (QString path, const QMultiMap< QString, QStringList > &selectionMap) |
|
static bool | writeMNESelFile (const std::string &path, const std::map< std::string, std::vector< std::string >> &selectionMap) |
|
static bool | writeBrainstormMonFiles (QString path, const QMultiMap< QString, QStringList > &selectionMap) |
|
static bool | writeBrainstormMonFiles (const std::string &path, const std::map< std::string, std::vector< std::string >> &selectionMap) |
|
Processes selection files (mne .sel) files which contain the chanels for each selection group.
Processes selection files (mne .sel) files which contain the channels for each selection group.
Definition at line 74 of file selectionio.h.
◆ SelectionIO()
SelectionIO::SelectionIO |
( |
| ) |
|
◆ readBrainstormMonFile() [1/2]
bool SelectionIO::readBrainstormMonFile |
( |
const std::string & |
path, |
|
|
std::multimap< std::string, std::vector< std::string >> & |
selectionMap |
|
) |
| |
|
static |
Reads the specified Brainstorm montage file.
- Parameters
-
[in] | path | holds the file path of the .mon file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 201 of file selectionio.cpp.
◆ readBrainstormMonFile() [2/2]
bool SelectionIO::readBrainstormMonFile |
( |
QString |
path, |
|
|
QMultiMap< QString, QStringList > & |
selectionMap |
|
) |
| |
|
static |
Reads the specified Brainstorm montage file.
- Parameters
-
[in] | path | holds the file path of the .mon file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 161 of file selectionio.cpp.
◆ readMNESelFile() [1/2]
bool SelectionIO::readMNESelFile |
( |
const std::string & |
path, |
|
|
std::multimap< std::string, std::vector< std::string >> & |
selectionMap |
|
) |
| |
|
static |
Reads the specified MNE sel file.
- Parameters
-
[in] | path | holds the file path of the .sel file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 119 of file selectionio.cpp.
◆ readMNESelFile() [2/2]
bool SelectionIO::readMNESelFile |
( |
QString |
path, |
|
|
QMultiMap< QString, QStringList > & |
selectionMap |
|
) |
| |
|
static |
Reads the specified MNE sel file.
- Parameters
-
[in] | path | holds the file path of the .sel file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 73 of file selectionio.cpp.
◆ writeBrainstormMonFiles() [1/2]
bool SelectionIO::writeBrainstormMonFiles |
( |
const std::string & |
path, |
|
|
const std::map< std::string, std::vector< std::string >> & |
selectionMap |
|
) |
| |
|
static |
Writes the specified selection groups to different Brainstorm .mon files. The amount of written files depend on the number of selection groups in selectionMap
- Parameters
-
[in] | path | holds the file path of the .mon file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 333 of file selectionio.cpp.
◆ writeBrainstormMonFiles() [2/2]
bool SelectionIO::writeBrainstormMonFiles |
( |
QString |
path, |
|
|
const QMultiMap< QString, QStringList > & |
selectionMap |
|
) |
| |
|
static |
Writes the specified selection groups to different Brainstorm .mon files. The amount of written files depend on the number of selection groups in selectionMap
- Parameters
-
[in] | path | holds the file path of the .mon file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 298 of file selectionio.cpp.
◆ writeMNESelFile() [1/2]
bool SelectionIO::writeMNESelFile |
( |
const std::string & |
path, |
|
|
const std::map< std::string, std::vector< std::string >> & |
selectionMap |
|
) |
| |
|
static |
Writes the specified selection groups to a single MNE .sel file.
- Parameters
-
[in] | path | holds the file path of the .sel file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 273 of file selectionio.cpp.
◆ writeMNESelFile() [2/2]
bool SelectionIO::writeMNESelFile |
( |
QString |
path, |
|
|
const QMultiMap< QString, QStringList > & |
selectionMap |
|
) |
| |
|
static |
Writes the specified selection groups to a single MNE .sel file.
- Parameters
-
[in] | path | holds the file path of the .sel file which is to be read. |
[in] | selectionMap | holds the map to which the read selection groups are stored. |
Definition at line 239 of file selectionio.cpp.
The documentation for this class was generated from the following files: