MNE-CPP  beta 1.0
mne_epoch_data.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef MNE_EPOCH_DATA_H
37 #define MNE_EPOCH_DATA_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include "mne_global.h"
45 
46 //*************************************************************************************************************
47 //=============================================================================================================
48 // FIFF INCLUDES
49 //=============================================================================================================
50 
51 #include <fiff/fiff_types.h>
52 
53 
54 //*************************************************************************************************************
55 //=============================================================================================================
56 // QT INCLUDES
57 //=============================================================================================================
58 
59 #include <QSharedPointer>
60 
61 
62 //*************************************************************************************************************
63 //=============================================================================================================
64 // Eigen INCLUDES
65 //=============================================================================================================
66 
67 #include <Eigen/Core>
68 
69 
70 //*************************************************************************************************************
71 //=============================================================================================================
72 // DEFINE NAMESPACE MNELIB
73 //=============================================================================================================
74 
75 namespace MNELIB
76 {
77 
78 //*************************************************************************************************************
79 //=============================================================================================================
80 // USED NAMESPACES
81 //=============================================================================================================
82 
83 using namespace FIFFLIB;
84 using namespace Eigen;
85 
86 
87 //=============================================================================================================
93 class MNESHARED_EXPORT MNEEpochData
94 {
95 
96 public:
97  typedef QSharedPointer<MNEEpochData> SPtr;
98  typedef QSharedPointer<const MNEEpochData> ConstSPtr;
100  //=========================================================================================================
104  MNEEpochData();
105 
106  //=========================================================================================================
112  MNEEpochData(const MNEEpochData &p_MNEEpochData);
113 
114  //=========================================================================================================
118  ~MNEEpochData();
119 
120  //=========================================================================================================
128  bool operator== (const MNEEpochData& MED_other) const
129  {
130  return (this->tmin == MED_other.tmin && this->tmax == MED_other.tmax);
131  }
132 
133 public:
134  MatrixXd epoch;
135  fiff_int_t event;
136  float tmin;
137  float tmax;
139 };
140 
141 } // NAMESPACE
142 
143 #endif // MNE_EPOCH_DATA_H
Old fiff_type declarations - replace them.
Definition: fiff.h:98
QSharedPointer< MNEEpochData > SPtr
QSharedPointer< const MNEEpochData > ConstSPtr