MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_corsourceestimate.cpp
Go to the documentation of this file.
1//=============================================================================================================
37//=============================================================================================================
38// INCLUDES
39//=============================================================================================================
40
42
43#include <QFile>
44#include <QDataStream>
45#include <QSharedPointer>
46
47//=============================================================================================================
48// USED NAMESPACES
49//=============================================================================================================
50
51using namespace MNELIB;
52using namespace Eigen;
53
54//=============================================================================================================
55// DEFINE MEMBER METHODS
56//=============================================================================================================
57
62
63//=============================================================================================================
64
65MNECorSourceEstimate::MNECorSourceEstimate(const MatrixXd &p_sol, const VectorXi &p_vertices, float p_tmin, float p_tstep)
66: MNESourceEstimate(p_sol, p_vertices, p_tmin, p_tstep)
67{
68}
69
70//=============================================================================================================
71
73: MNESourceEstimate(p_SourceEstimate)
74{
75}
76
77//=============================================================================================================
78
80: MNESourceEstimate(p_IODevice)
81{
82}
83
84//=============================================================================================================
85
90
91//=============================================================================================================
92
93bool MNECorSourceEstimate::read(QIODevice &p_IODevice, MNECorSourceEstimate& p_stc)
94{
95 return MNESourceEstimate::read(p_IODevice, p_stc);
96}
97
98//=============================================================================================================
99
100bool MNECorSourceEstimate::write(QIODevice &p_IODevice)
101{
102 return MNESourceEstimate::write(p_IODevice);
103}
104
105//=============================================================================================================
106
108{
109 if (this != &rhs) // protect against invalid self-assignment
110 {
112 }
113 // to support chained assignment operators (a=b=c), always return *this
114 return *this;
115}
MNECorSourceEstimate class declaration.
Correlated source estimation.
MNECorSourceEstimate & operator=(const MNECorSourceEstimate &rhs)
bool write(QIODevice &p_IODevice)
static bool read(QIODevice &p_IODevice, MNECorSourceEstimate &p_stc)
static bool read(QIODevice &p_IODevice, MNESourceEstimate &p_stc)
bool write(QIODevice &p_IODevice)
MNESourceEstimate & operator=(const MNESourceEstimate &rhs)