MNE-CPP  beta 1.0
fiff_evoked_set.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef FIFF_EVOKED_SET_H
37 #define FIFF_EVOKED_SET_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // FIFF INCLUDES
43 //=============================================================================================================
44 
45 #include "fiff_info.h"
46 #include "fiff_evoked.h"
47 #include "fiff_global.h"
48 
49 
50 //*************************************************************************************************************
51 //=============================================================================================================
52 // Qt INCLUDES
53 //=============================================================================================================
54 
55 #include <QIODevice>
56 #include <QList>
57 #include <QSharedPointer>
58 #include <QStringList>
59 
60 
61 //*************************************************************************************************************
62 //=============================================================================================================
63 // Eigen INCLUDES
64 //=============================================================================================================
65 
66 #include <Eigen/Core>
67 
68 
69 //*************************************************************************************************************
70 //=============================================================================================================
71 // DEFINE NAMESPACE MNELIB
72 //=============================================================================================================
73 
74 namespace FIFFLIB
75 {
76 
77 //*************************************************************************************************************
78 //=============================================================================================================
79 // USED NAMESPACES
80 //=============================================================================================================
81 
82 using namespace Eigen;
83 
84 
85 //=============================================================================================================
92 {
93 
94 public:
95  typedef QSharedPointer<FiffEvokedSet> SPtr;
96  typedef QSharedPointer<const FiffEvokedSet> ConstSPtr;
98  //=========================================================================================================
102  FiffEvokedSet();
103 
104  //=========================================================================================================
110  FiffEvokedSet(QIODevice& p_IODevice);
111 
112  //=========================================================================================================
118  FiffEvokedSet(const FiffEvokedSet& p_FiffEvokedSet);
119 
120  //=========================================================================================================
124  ~FiffEvokedSet();
125 
126  //=========================================================================================================
130  void clear();
131 
132  //=========================================================================================================
145  FiffEvokedSet pick_channels(const QStringList& include = defaultQStringList, const QStringList& exclude = defaultQStringList) const;
146 
147  //=========================================================================================================
160  bool compensate_to(FiffEvokedSet &p_FiffEvokedSet, fiff_int_t to) const;
161 
162 
163  //=========================================================================================================
175  bool find_evoked(const FiffEvokedSet& p_FiffEvokedSet) const;
176 
177  //=========================================================================================================
197  static bool read(QIODevice& p_IODevice, FiffEvokedSet& p_FiffEvokedSet, QPair<QVariant,QVariant> baseline = defaultVariantPair, bool proj = true);
198 
199 public:
201  QList<FiffEvoked> evoked;
202 };
203 
204 } // NAMESPACE
205 
206 #endif // FIFF_EVOKED_SET_H
FIFF measurement file information.
Definition: fiff_info.h:96
FiffInfo class declaration.
QSharedPointer< const FiffEvokedSet > ConstSPtr
#define FIFFSHARED_EXPORT
Definition: fiff_global.h:58
Fiff library export/import macros.
Definition: fiff.h:98
QSharedPointer< FiffEvokedSet > SPtr
QList< FiffEvoked > evoked
evoked data set