MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Matrix specification with a channel list. More...
#include <mne_named_matrix.h>
Public Types | |
typedef QSharedPointer< MneNamedMatrix > | SPtr |
typedef QSharedPointer< const MneNamedMatrix > | ConstSPtr |
Public Member Functions | |
MneNamedMatrix () | |
MneNamedMatrix (const MneNamedMatrix &p_MneNamedMatrix) | |
~MneNamedMatrix () | |
MneNamedMatrix * | pick_from_named_matrix (const QStringList &pickrowlist, int picknrow, const QStringList &pickcollist, int pickncol) const |
Static Public Member Functions | |
static MneNamedMatrix * | build_named_matrix (int nrow, int ncol, const QStringList &rowlist, const QStringList &collist, float **data) |
static MneNamedMatrix * | read_named_matrix (QSharedPointer< FIFFLIB::FiffStream > &stream, const QSharedPointer< FIFFLIB::FiffDirNode > &node, int kind) |
Public Attributes | |
int | nrow |
int | ncol |
QStringList | rowlist |
QStringList | collist |
float ** | data |
Matrix specification with a channel list.
Implements MNE Named Matrix (Replaces *mneNamedMatrix,mneNamedMatrixRec; struct of MNE-C mne_types.h). !!!!TODO Merge with existing FiffNamedMatrix!!!!
Definition at line 84 of file mne_named_matrix.h.
typedef QSharedPointer<const MneNamedMatrix> MNELIB::MneNamedMatrix::ConstSPtr |
Const shared pointer type for MneNamedMatrix.
Definition at line 88 of file mne_named_matrix.h.
typedef QSharedPointer<MneNamedMatrix> MNELIB::MneNamedMatrix::SPtr |
Shared pointer type for MneNamedMatrix.
Definition at line 87 of file mne_named_matrix.h.
MneNamedMatrix::MneNamedMatrix | ( | ) |
Constructs the MNE Named Matrix
Definition at line 120 of file mne_named_matrix.cpp.
MneNamedMatrix::MneNamedMatrix | ( | const MneNamedMatrix & | p_MneNamedMatrix | ) |
Copy constructor. Refactored: mne_dup_named_matrix (mne_named_matrix.c)
[in] | p_MneNamedMatrix | MNE Named Matrix which should be copied. |
Definition at line 129 of file mne_named_matrix.cpp.
MneNamedMatrix::~MneNamedMatrix | ( | ) |
Destroys the MNE Named Matrix description Refactored: mne_free_named_matrix (mne_named_matrix.c)
Definition at line 147 of file mne_named_matrix.cpp.
|
static |
Build a named matrix from the ingredients Refactored: mne_build_named_matrix (mne_named_matrix.c)
[in] | nrow | Number of rows. |
[in] | ncol | Number of columns. |
[in] | rowlist | List of row (channel) names. |
[in] | collist | List of column (channel) names. |
[in] | data | Data to store. |
Definition at line 154 of file mne_named_matrix.cpp.
MneNamedMatrix * MneNamedMatrix::pick_from_named_matrix | ( | const QStringList & | pickrowlist, |
int | picknrow, | ||
const QStringList & | pickcollist, | ||
int | pickncol | ||
) | const |
Pick appropriate rows and columns and build a new matrix Refactored: mne_pick_from_named_matrix (mne_named_matrix.c)
[in] | pickrowlist | List of row names to pick. |
[in] | picknrow | Number of rows. |
[in] | pickcollist | List of column names to pick. |
[in] | pickncol | Number of columns. |
Definition at line 171 of file mne_named_matrix.cpp.
|
static |
Read a named matrix from the specified node Refactored: mne_read_named_matrix (mne_named_matrix.c)
[in] | stream | Stream to read from. |
[in] | node | Node to read from. |
[in] | kind | Block kind which should be read. |
Definition at line 268 of file mne_named_matrix.cpp.