One item in a derivation data set. More...
#include <mne_deriv.h>
Public Types | |
| typedef QSharedPointer< MNEDeriv > | SPtr |
| typedef QSharedPointer< const MNEDeriv > | ConstSPtr |
Public Member Functions | |
| MNEDeriv () | |
| MNEDeriv (const MNEDeriv &other) | |
| ~MNEDeriv () | |
| int | validate (const QList< FIFFLIB::FiffChInfo > &chInfo) |
Public Attributes | |
| QString | filename |
| QString | shortname |
| std::unique_ptr< MNESparseNamedMatrix > | deriv_data |
| Eigen::VectorXi | in_use |
| Eigen::VectorXi | valid |
| QList< FIFFLIB::FiffChInfo > | chs |
One item in a derivation data set.
Holds a sparse named matrix of derivation coefficients together with validity and usage metadata and matched channel information.
Definition at line 62 of file mne_deriv.h.
| typedef QSharedPointer<const MNEDeriv> MNELIB::MNEDeriv::ConstSPtr |
Const shared pointer type for MNEDeriv.
Definition at line 66 of file mne_deriv.h.
| typedef QSharedPointer<MNEDeriv> MNELIB::MNEDeriv::SPtr |
Shared pointer type for MNEDeriv.
Definition at line 65 of file mne_deriv.h.
|
default |
Constructs an empty MNE Derivation.
| MNEDeriv::MNEDeriv | ( | const MNEDeriv & | other | ) |
Copies the derivation including its matrix.
| [in] | other | The derivation to copy. |
Definition at line 34 of file mne_deriv.cpp.
|
default |
Destructor.
| int MNEDeriv::validate | ( | const QList< FIFFLIB::FiffChInfo > & | chInfo | ) |
Checks every derived channel against channel info (MNE-C mne_validate_deriv).
A derived channel is valid if all its inputs are present and of the same kind and unit; valid and chs are filled, chs with the info of the first input.
| [in] | chInfo | Channel info of the recording. |
Definition at line 59 of file mne_deriv.cpp.
| QList<FIFFLIB::FiffChInfo> MNELIB::MNEDeriv::chs |
First matching channel info for each derivation.
Definition at line 107 of file mne_deriv.h.
| std::unique_ptr<MNESparseNamedMatrix> MNELIB::MNEDeriv::deriv_data |
The derivation data itself (sparse named matrix).
Definition at line 104 of file mne_deriv.h.
| QString MNELIB::MNEDeriv::filename |
Source file name the derivation was loaded from.
Definition at line 102 of file mne_deriv.h.
| Eigen::VectorXi MNELIB::MNEDeriv::in_use |
Per-column count of non-zero elements in the derivation data.
Definition at line 105 of file mne_deriv.h.
| QString MNELIB::MNEDeriv::shortname |
Short nickname for this derivation.
Definition at line 103 of file mne_deriv.h.
| Eigen::VectorXi MNELIB::MNEDeriv::valid |
Per-derivation validity flags considering input channel units.
Definition at line 106 of file mne_deriv.h.