MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_corsourceestimate.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef MNECORSOURCEESTIMATE_H
38#define MNECORSOURCEESTIMATE_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45#include "mne_sourceestimate.h"
46
47//=============================================================================================================
48// EIGEN INCLUDES
49//=============================================================================================================
50
51#include <Eigen/SparseCore>
52
53//=============================================================================================================
54// QT INCLUDES
55//=============================================================================================================
56
57#include <QList>
58#include <QIODevice>
59
60//=============================================================================================================
61// DEFINE NAMESPACE MNELIB
62//=============================================================================================================
63
64namespace MNELIB
65{
66
67//=============================================================================================================
68// FORWARD DECLARATIONS
69//=============================================================================================================
70
71//=============================================================================================================
78{
79public:
80
81 //=========================================================================================================
86
87 //=========================================================================================================
96 MNECorSourceEstimate(const Eigen::MatrixXd &p_sol, const Eigen::VectorXi &p_vertices, float p_tmin, float p_tstep);
97
98 //=========================================================================================================
104 MNECorSourceEstimate(const MNECorSourceEstimate& p_SourceEstimate);
105
106 //=========================================================================================================
113 MNECorSourceEstimate(QIODevice &p_IODevice);
114
115 //=========================================================================================================
119 void clear();
120
121 //=========================================================================================================
132 static bool read(QIODevice &p_IODevice, MNECorSourceEstimate& p_stc);
133
134 //=========================================================================================================
142 bool write(QIODevice &p_IODevice);
143
144 //=========================================================================================================
152 MNECorSourceEstimate& operator= (const MNECorSourceEstimate &rhs);
153
154private:
155 Eigen::SparseMatrix<float> m_matCorrelations;
156};
157
158//=============================================================================================================
159// INLINE DEFINITIONS
160//=============================================================================================================
161} //NAMESPACE
162
163#endif // MNECORSOURCEESTIMATE_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:56
MNESourceEstimate class declaration.
Correlated source estimation.
MNECorSourceEstimate(const Eigen::MatrixXd &p_sol, const Eigen::VectorXi &p_vertices, float p_tmin, float p_tstep)