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{
55class FiffStream;
56class FiffDirNode;
57}
58
59//=============================================================================================================
60// DEFINE NAMESPACE MNELIB
61//=============================================================================================================
62
63namespace MNELIB
64{
65
66//=============================================================================================================
75{
76public:
77 typedef QSharedPointer<MNESssData> SPtr;
78 typedef QSharedPointer<const MNESssData> ConstSPtr;
79
80 //=========================================================================================================
84 MNESssData();
85
86 //=========================================================================================================
93 MNESssData(const MNESssData& p_MneSssData);
94
95 //=========================================================================================================
100
101 //=========================================================================================================
110 static std::unique_ptr<MNESssData> read(const QString& name);
111
112 //=========================================================================================================
122 static std::unique_ptr<MNESssData> read_from_node(QSharedPointer<FIFFLIB::FiffStream>& stream, const QSharedPointer<FIFFLIB::FiffDirNode>& start);
123
124 //=========================================================================================================
131 void print(QTextStream& out) const;
132
133public:
134 int job;
136 float origin[3];
137 int nchan;
140 Eigen::VectorXi comp_info;
143};
144
145//=============================================================================================================
146// INLINE DEFINITIONS
147//=============================================================================================================
148} // NAMESPACE MNELIB
149
150#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