MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Member Functions | Static Public Member Functions | List of all members
UTILSLIB::SelectionIO Class Reference

Processes selection files (mne .sel) files which contain the chanels for each selection group. More...

#include <selectionio.h>

Public Member Functions

 SelectionIO ()
 

Static Public Member Functions

static bool readMNESelFile (QString path, QMap< QString, QStringList > &selectionMap)
 
static bool readMNESelFile (const std::string &path, std::multimap< std::string, std::vector< std::string >> &selectionMap)
 
static bool readBrainstormMonFile (QString path, QMap< 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 QMap< 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 QMap< QString, QStringList > &selectionMap)
 
static bool writeBrainstormMonFiles (const std::string &path, const std::map< std::string, std::vector< std::string >> &selectionMap)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SelectionIO()

SelectionIO::SelectionIO ( )

Constructs a Filter object.

Definition at line 66 of file selectionio.cpp.

Member Function Documentation

◆ readBrainstormMonFile() [1/2]

bool SelectionIO::readBrainstormMonFile ( QString  path,
QMap< QString, QStringList > &  selectionMap 
)
static

Reads the specified Brainstorm montage file.

Parameters
[in]pathholds the file path of the .mon file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 160 of file selectionio.cpp.

◆ readBrainstormMonFile() [2/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]pathholds the file path of the .mon file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 200 of file selectionio.cpp.

◆ readMNESelFile() [1/2]

bool SelectionIO::readMNESelFile ( QString  path,
QMap< QString, QStringList > &  selectionMap 
)
static

Reads the specified MNE sel file.

Parameters
[in]pathholds the file path of the .sel file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 72 of file selectionio.cpp.

◆ readMNESelFile() [2/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]pathholds the file path of the .sel file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 118 of file selectionio.cpp.

◆ writeBrainstormMonFiles() [1/2]

bool SelectionIO::writeBrainstormMonFiles ( QString  path,
const QMap< 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]pathholds the file path of the .mon file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 297 of file selectionio.cpp.

◆ writeBrainstormMonFiles() [2/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]pathholds the file path of the .mon file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 335 of file selectionio.cpp.

◆ writeMNESelFile() [1/2]

bool SelectionIO::writeMNESelFile ( QString  path,
const QMap< QString, QStringList > &  selectionMap 
)
static

Writes the specified selection groups to a single MNE .sel file.

Parameters
[in]pathholds the file path of the .sel file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 238 of file selectionio.cpp.

◆ writeMNESelFile() [2/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]pathholds the file path of the .sel file which is to be read.
[in]selectionMapholds the map to which the read selection groups are stored.

Definition at line 272 of file selectionio.cpp.


The documentation for this class was generated from the following files: