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

Correlated source estimation. More...

#include <mne_corsourceestimate.h>

Public Member Functions

 MNECorSourceEstimate ()
 
 MNECorSourceEstimate (const Eigen::MatrixXd &p_sol, const Eigen::VectorXi &p_vertices, float p_tmin, float p_tstep)
 
 MNECorSourceEstimate (const MNECorSourceEstimate &p_SourceEstimate)
 
 MNECorSourceEstimate (QIODevice &p_IODevice)
 
void clear ()
 
bool write (QIODevice &p_IODevice)
 
MNECorSourceEstimateoperator= (const MNECorSourceEstimate &rhs)
 
- Public Member Functions inherited from MNELIB::MNESourceEstimate
 MNESourceEstimate ()
 
 MNESourceEstimate (const Eigen::MatrixXd &p_sol, const Eigen::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
 
MNESourceEstimateoperator= (const MNESourceEstimate &rhs)
 
int samples () const
 
Eigen::VectorXi getIndicesByLabel (const QList< FSLIB::Label > &lPickedLabels, bool bIsClustered) const
 

Static Public Member Functions

static bool read (QIODevice &p_IODevice, MNECorSourceEstimate &p_stc)
 
- Static Public Member Functions inherited from MNELIB::MNESourceEstimate
static bool read (QIODevice &p_IODevice, MNESourceEstimate &p_stc)
 

Additional Inherited Members

- Public Types inherited from MNELIB::MNESourceEstimate
typedef QSharedPointer< MNESourceEstimateSPtr
 
typedef QSharedPointer< const MNESourceEstimateConstSPtr
 
- Public Attributes inherited from MNELIB::MNESourceEstimate
Eigen::MatrixXd data
 
Eigen::VectorXi vertices
 
Eigen::RowVectorXf times
 
float tmin
 
float tstep
 

Detailed Description

Correlated source estimation.

Correlated source estimation which holds results of MNE-CPP inverse routines, which estimate the correlation too

Definition at line 77 of file mne_corsourceestimate.h.

Inheritance diagram for MNELIB::MNECorSourceEstimate:
Inheritance graph

Constructor & Destructor Documentation

◆ MNECorSourceEstimate() [1/4]

MNECorSourceEstimate::MNECorSourceEstimate ( )

Default constructor

Definition at line 58 of file mne_corsourceestimate.cpp.

◆ MNECorSourceEstimate() [2/4]

MNELIB::MNECorSourceEstimate::MNECorSourceEstimate ( const Eigen::MatrixXd &  p_sol,
const Eigen::VectorXi &  p_vertices,
float  p_tmin,
float  p_tstep 
)

Constructs a source estimation from given data

Parameters
[in]p_sol.
[in]p_vertices.
[in]p_tmin.
[in]p_tstep.

◆ MNECorSourceEstimate() [3/4]

MNECorSourceEstimate::MNECorSourceEstimate ( const MNECorSourceEstimate p_SourceEstimate)

Copy constructor.

Parameters
[in]p_SourceEstimateSource estimate data which should be copied.

Definition at line 72 of file mne_corsourceestimate.cpp.

◆ MNECorSourceEstimate() [4/4]

MNECorSourceEstimate::MNECorSourceEstimate ( QIODevice &  p_IODevice)

Constructs a source estimation, by reading from a IO device.

Parameters
[in]p_IODeviceIO device to read from the source estimation.

Definition at line 79 of file mne_corsourceestimate.cpp.

Member Function Documentation

◆ clear()

void MNECorSourceEstimate::clear ( )

Initializes source estimate.

Definition at line 86 of file mne_corsourceestimate.cpp.

◆ operator=()

MNECorSourceEstimate & MNECorSourceEstimate::operator= ( const MNECorSourceEstimate rhs)

Assignment Operator

Parameters
[in]rhsSourceEstimate which should be assigned.
Returns
the copied source estimate.

Definition at line 107 of file mne_corsourceestimate.cpp.

◆ read()

bool MNECorSourceEstimate::read ( QIODevice &  p_IODevice,
MNECorSourceEstimate p_stc 
)
static

mne_read_stc_file

Reads a source estimate from a given file

Parameters
[in]p_IODeviceIO device to red the stc from.
[in,out]p_stcthe read stc.
Returns
true if successful, false otherwise.

Definition at line 93 of file mne_corsourceestimate.cpp.

◆ write()

bool MNECorSourceEstimate::write ( QIODevice &  p_IODevice)

mne_write_stc_file

Writes a stc file

Parameters
[in]p_IODeviceIO device to write the stc to.

Definition at line 100 of file mne_corsourceestimate.cpp.


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