MNE-CPP
beta 1.0
|
Source estimation. More...
#include <mne_sourceestimate.h>
Public Types | |
typedef QSharedPointer< MNESourceEstimate > | SPtr |
typedef QSharedPointer< const MNESourceEstimate > | ConstSPtr |
Public Member Functions | |
MNESourceEstimate () | |
MNESourceEstimate (const MatrixXd &p_sol, const VectorXi &p_vertices, float p_tmin, float p_tstep) | |
MNESourceEstimate (const MNESourceEstimate &p_SourceEstimate) | |
MNESourceEstimate (QIODevice &p_IODevice) | |
void | clear () |
MNESourceEstimate | reduce (qint32 start, qint32 n) |
bool | write (QIODevice &p_IODevice) |
bool | isEmpty () const |
MNESourceEstimate & | operator= (const MNESourceEstimate &rhs) |
Static Public Member Functions | |
static bool | read (QIODevice &p_IODevice, MNESourceEstimate &p_stc) |
Public Attributes | |
MatrixXd | data |
VectorXi | vertices |
RowVectorXf | times |
float | tmin |
float | tstep |
Source estimation.
Source estimation which holds results of MNE-CPP inverse routines
Definition at line 95 of file mne_sourceestimate.h.
typedef QSharedPointer<const MNESourceEstimate> MNELIB::MNESourceEstimate::ConstSPtr |
Const shared pointer type for MNESourceEstimate.
Definition at line 99 of file mne_sourceestimate.h.
typedef QSharedPointer<MNESourceEstimate> MNELIB::MNESourceEstimate::SPtr |
Shared pointer type for MNESourceEstimate.
Definition at line 98 of file mne_sourceestimate.h.
MNESourceEstimate::MNESourceEstimate | ( | ) |
Default constructor
Definition at line 61 of file mne_sourceestimate.cpp.
MNESourceEstimate::MNESourceEstimate | ( | const MatrixXd & | p_sol, |
const VectorXi & | p_vertices, | ||
float | p_tmin, | ||
float | p_tstep | ||
) |
Constructs a source estimation from given data
[in] | p_sol | |
[in] | p_vertices | |
[in] | p_tmin | |
[in] | p_tstep |
Definition at line 70 of file mne_sourceestimate.cpp.
MNESourceEstimate::MNESourceEstimate | ( | const MNESourceEstimate & | p_SourceEstimate | ) |
Copy constructor.
[in] | p_SourceEstimate | Source estimate data which should be copied |
Definition at line 82 of file mne_sourceestimate.cpp.
MNESourceEstimate::MNESourceEstimate | ( | QIODevice & | p_IODevice | ) |
Constructs a source estimation, by reading from a IO device.
[in] | p_IODevice | IO device to read from the source estimation. |
Definition at line 95 of file mne_sourceestimate.cpp.
void MNESourceEstimate::clear | ( | ) |
Initializes source estimate.
Definition at line 109 of file mne_sourceestimate.cpp.
|
inline |
Returns whether SourceEstimate is empty.
Definition at line 213 of file mne_sourceestimate.h.
MNESourceEstimate & MNESourceEstimate::operator= | ( | const MNESourceEstimate & | rhs | ) |
Assignment Operator
[in] | rhs | SourceEstimate which should be assigned. |
Definition at line 263 of file mne_sourceestimate.cpp.
|
static |
mne_read_stc_file
Reads a source estimate from a given file
[in] | p_IODevice | IO device to red the stc from. |
[out] | p_stc | the read stc |
Definition at line 141 of file mne_sourceestimate.cpp.
MNESourceEstimate MNESourceEstimate::reduce | ( | qint32 | start, |
qint32 | n | ||
) |
Reduces the source estimate to selected samples.
[in] | start | The start index to cut the estimate from. |
[in] | n | Number of samples to cut from start index. |
Definition at line 121 of file mne_sourceestimate.cpp.
bool MNESourceEstimate::write | ( | QIODevice & | p_IODevice | ) |
mne_write_stc_file
Writes a stc file
[in] | p_IODevice | IO device to write the stc to. |
Definition at line 199 of file mne_sourceestimate.cpp.
MatrixXd MNELIB::MNESourceEstimate::data |
Matrix of shape [n_dipoles x n_times] which contains the data in source space.
Definition at line 192 of file mne_sourceestimate.h.
RowVectorXf MNELIB::MNESourceEstimate::times |
The time vector with n_times steps.
Definition at line 194 of file mne_sourceestimate.h.
float MNELIB::MNESourceEstimate::tmin |
Time starting point.
Definition at line 195 of file mne_sourceestimate.h.
float MNELIB::MNESourceEstimate::tstep |
Time steps within the times vector.
Definition at line 196 of file mne_sourceestimate.h.
VectorXi MNELIB::MNESourceEstimate::vertices |
The indices of the dipoles in the different source spaces.
Definition at line 193 of file mne_sourceestimate.h.