v2.0.0
Loading...
Searching...
No Matches
mne_sss_data.h
Go to the documentation of this file.
1//=============================================================================================================
19
20#ifndef MNESSSDATA_H
21#define MNESSSDATA_H
22
23//=============================================================================================================
24// INCLUDES
25//=============================================================================================================
26
27#include "mne_global.h"
28
29//=============================================================================================================
30// STL INCLUDES
31//=============================================================================================================
32
33#include <memory>
34
35//=============================================================================================================
36// EIGEN INCLUDES
37//=============================================================================================================
38
39#include <Eigen/Core>
40
41//=============================================================================================================
42// QT INCLUDES
43//=============================================================================================================
44
45#include <QSharedPointer>
46#include <QTextStream>
47#include <QDebug>
48
49//=============================================================================================================
50// FORWARD DECLARATIONS
51//=============================================================================================================
52
53namespace FIFFLIB
54{
55 class FiffStream;
56 class FiffDirNode;
57}
58
59//=============================================================================================================
60// DEFINE NAMESPACE MNELIB
61//=============================================================================================================
62
63namespace MNELIB
64{
65
66//=============================================================================================================
73{
74public:
75 typedef QSharedPointer<MNESssData> SPtr;
76 typedef QSharedPointer<const MNESssData> ConstSPtr;
77
78 //=========================================================================================================
82 MNESssData();
83
84 //=========================================================================================================
91 MNESssData(const MNESssData& p_MneSssData);
92
93 //=========================================================================================================
98
99 //=========================================================================================================
108 static std::unique_ptr<MNESssData> read(const QString& name);
109
110 //=========================================================================================================
120 static std::unique_ptr<MNESssData> read_from_node( QSharedPointer<FIFFLIB::FiffStream>& stream, const QSharedPointer<FIFFLIB::FiffDirNode>& start );
121
122 //=========================================================================================================
129 void print(QTextStream &out) const;
130
131public:
132 int job;
134 float origin[3];
135 int nchan;
138 Eigen::VectorXi comp_info;
141};
142
143//=============================================================================================================
144// INLINE DEFINITIONS
145//=============================================================================================================
146} // NAMESPACE MNELIB
147
148#endif // MNESSSDATA_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
FIFF file I/O, in-memory data structures and high-level readers/writers.
Recursive FIFF block-tree node: block kind, block ID, directly contained directory entries and child ...
FIFF tag-stream reader/writer: wraps a QIODevice and exposes typed read_* / write_* methods for every...
QSharedPointer< MNESssData > SPtr
Eigen::VectorXi comp_info
static std::unique_ptr< MNESssData > read_from_node(QSharedPointer< FIFFLIB::FiffStream > &stream, const QSharedPointer< FIFFLIB::FiffDirNode > &start)
void print(QTextStream &out) const
static std::unique_ptr< MNESssData > read(const QString &name)
QSharedPointer< const MNESssData > ConstSPtr