MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
fiff_evoked_set.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef FIFF_EVOKED_SET_H
38#define FIFF_EVOKED_SET_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "fiff_info.h"
45#include "fiff_evoked.h"
46#include "fiff_global.h"
47
48//=============================================================================================================
49// QT INCLUDES
50//=============================================================================================================
51
52#include <QIODevice>
53#include <QList>
54#include <QSharedPointer>
55#include <QStringList>
56
57//=============================================================================================================
58// EIGEN INCLUDES
59//=============================================================================================================
60
61#include <Eigen/Core>
62
63//=============================================================================================================
64// DEFINE NAMESPACE MNELIB
65//=============================================================================================================
66
67namespace FIFFLIB
68{
69
70//=============================================================================================================
77{
78
79public:
80 typedef QSharedPointer<FiffEvokedSet> SPtr;
81 typedef QSharedPointer<const FiffEvokedSet> ConstSPtr;
83 //=========================================================================================================
88
89 //=========================================================================================================
95 FiffEvokedSet(QIODevice& p_IODevice);
96
97 //=========================================================================================================
103 FiffEvokedSet(const FiffEvokedSet& p_FiffEvokedSet);
104
105 //=========================================================================================================
110
111 //=========================================================================================================
115 void clear();
116
117 //=========================================================================================================
130 FiffEvokedSet pick_channels(const QStringList& include = defaultQStringList,
131 const QStringList& exclude = defaultQStringList) const;
132
133 //=========================================================================================================
146 bool compensate_to(FiffEvokedSet &p_FiffEvokedSet,
147 fiff_int_t to) const;
148
149 //=========================================================================================================
161 bool find_evoked(const FiffEvokedSet& p_FiffEvokedSet) const;
162
163 //=========================================================================================================
183 static bool read(QIODevice& p_IODevice,
184 FiffEvokedSet& p_FiffEvokedSet,
185 QPair<float,float> baseline = defaultFloatPair,
186 bool proj = true);
187
188public:
190 QList<FiffEvoked> evoked;
191};
192} // NAMESPACE
193
194#ifndef metatype_fiffevokedset
195#define metatype_fiffevokedset
197#endif
198
199#ifndef metatype_fiffevokedsetsptr
200#define metatype_fiffevokedsetsptr
202#endif
203
204#endif // FIFF_EVOKED_SET_H
FiffInfo class declaration.
Fiff library export/import macros.
#define FIFFSHARED_EXPORT
Definition fiff_global.h:56
FiffEvoked class declaration.
Q_DECLARE_METATYPE(FIFFLIB::FiffEvokedSet)
QSharedPointer< const FiffEvokedSet > ConstSPtr
QSharedPointer< FiffEvokedSet > SPtr
QList< FiffEvoked > evoked
FIFF measurement file information.
Definition fiff_info.h:85