MNE-CPP  beta 1.0
IInverseAlgorithm.h
1 //=============================================================================================================
36 #ifndef IINVERSEALGORITHM_H
37 #define IINVERSEALGORITHM_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include <QString>
45 #include <Eigen/Core>
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // FORWARD DECLARATIONS
51 //=============================================================================================================
52 namespace FIFFLIB
53 {
54 class FiffEvoked;
55 }
56 
57 namespace MNELIB
58 {
59 class MNESourceSpace;
60 class MNESourceEstimate;
61 }
62 
63 //*************************************************************************************************************
64 //=============================================================================================================
65 // DEFINE NAMESPACE INVERSE
66 //=============================================================================================================
67 
68 namespace INVERSELIB
69 {
70 
71 //*************************************************************************************************************
72 //=============================================================================================================
73 // USED NAMESPACES
74 //=============================================================================================================
75 
76 using namespace FIFFLIB;
77 using namespace MNELIB;
78 using namespace Eigen;
79 
80 
81 //*************************************************************************************************************
82 //=============================================================================================================
83 // FORWARD DECLARATIONS
84 //=============================================================================================================
85 
86 
87 //=============================================================================================================
94 {
95 public:
96  //=========================================================================================================
100  virtual ~IInverseAlgorithm() {}
101 
102  //=========================================================================================================
112  virtual MNESourceEstimate calculateInverse(const FiffEvoked &p_fiffEvoked, bool pick_normal = false) = 0;
113 
114  //=========================================================================================================
124  virtual MNESourceEstimate calculateInverse(const MatrixXd &data, float tmin, float tstep) const = 0;
125 
126  //=========================================================================================================
132  virtual const char* getName() const = 0;
133 
134  //=========================================================================================================
141  virtual const MNESourceSpace& getSourceSpace() const = 0;
142 };
143 
144 } //NAMESPACE
145 
146 #endif // IINVERSEALGORITHM_H
Source Space descritpion.
evoked data
Definition: fiff_evoked.h:91
Definition: fiff.h:98
Inverse algorithm interface.