v2.0.0
Loading...
Searching...
No Matches
mne_sss_data.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef MNESSSDATA_H
38#define MNESSSDATA_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// QT INCLUDES
54//=============================================================================================================
55
56#include <QSharedPointer>
57#include <QTextStream>
58#include <QDebug>
59
60//=============================================================================================================
61// FORWARD DECLARATIONS
62//=============================================================================================================
63
64namespace FIFFLIB
65{
66 class FiffStream;
67 class FiffDirNode;
68}
69
70//=============================================================================================================
71// DEFINE NAMESPACE MNELIB
72//=============================================================================================================
73
74namespace MNELIB
75{
76
77//=============================================================================================================
84{
85public:
86 typedef QSharedPointer<MNESssData> SPtr;
87 typedef QSharedPointer<const MNESssData> ConstSPtr;
88
89 //=========================================================================================================
93 MNESssData();
94
95 //=========================================================================================================
102 MNESssData(const MNESssData& p_MneSssData);
103
104 //=========================================================================================================
109
110 //=========================================================================================================
119 static MNESssData *read(const QString& name);
120
121 //=========================================================================================================
131 static MNESssData* read_from_node( QSharedPointer<FIFFLIB::FiffStream>& stream, const QSharedPointer<FIFFLIB::FiffDirNode>& start );
132
133 //=========================================================================================================
140 void print(QTextStream &out) const;
141
142public:
143 int job;
145 float origin[3];
146 int nchan;
149 Eigen::VectorXi comp_info;
152};
153
154//=============================================================================================================
155// INLINE DEFINITIONS
156//=============================================================================================================
157} // NAMESPACE MNELIB
158
159#endif // MNESSSDATA_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF file I/O and data structures (raw, epochs, evoked, covariance, forward).
Directory node structure.
FIFF File I/O routines.
QSharedPointer< MNESssData > SPtr
Eigen::VectorXi comp_info
static MNESssData * read(const QString &name)
void print(QTextStream &out) const
static MNESssData * read_from_node(QSharedPointer< FIFFLIB::FiffStream > &stream, const QSharedPointer< FIFFLIB::FiffDirNode > &start)
QSharedPointer< const MNESssData > ConstSPtr