MNE-CPP  0.1.9
A Framework for Electrophysiology
mne_deriv.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef MNEDERIV_H
38 #define MNEDERIV_H
39 
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include "../mne_global.h"
45 #include <fiff/fiff_types.h>
46 #include "mne_types.h"
47 
48 //=============================================================================================================
49 // EIGEN INCLUDES
50 //=============================================================================================================
51 
52 #include <Eigen/Core>
53 
54 //=============================================================================================================
55 // QT INCLUDES
56 //=============================================================================================================
57 
58 #include <QSharedPointer>
59 
60 //=============================================================================================================
61 // DEFINE NAMESPACE MNELIB
62 //=============================================================================================================
63 
64 namespace MNELIB
65 {
66 
67 //=============================================================================================================
74 {
75 public:
76  typedef QSharedPointer<MneDeriv> SPtr;
77  typedef QSharedPointer<const MneDeriv> ConstSPtr;
79  //=========================================================================================================
83  MneDeriv();
84 
85  //=========================================================================================================
90  ~MneDeriv();
91 
92 public:
93  char *filename; /* Source file name */
94  char *shortname; /* Short nickname for this derivation */
95  mneSparseNamedMatrix deriv_data; /* The derivation data itself */
96  int *in_use; /* How many non-zero elements on each column of the derivation data (This field is not always used) */
97  int *valid; /* Which of the derivations are valid considering the units of the input channels (This field is not always used) */
98  QList<FIFFLIB::FiffChInfo> chs; /* First matching channel info in each derivation */
99 
100 // ### OLD STRUCT ###
101 //typedef struct { /* One item in a derivation data set */
102 // char *filename; /* Source file name */
103 // char *shortname; /* Short nickname for this derivation */
104 // mneSparseNamedMatrix deriv_data; /* The derivation data itself */
105 // int *in_use; /* How many non-zero elements on each column of the derivation data (This field is not always used) */
106 // int *valid; /* Which of the derivations are valid considering the units of the input channels (This field is not always used) */
107 // FIFFLIB::fiffChInfo chs; /* First matching channel info in each derivation */
108 //} *mneDeriv,mneDerivRec;
109 };
110 
111 //=============================================================================================================
112 // INLINE DEFINITIONS
113 //=============================================================================================================
114 } // NAMESPACE MNELIB
115 
116 #endif // MNEDERIV_H
MNELIB::mneSparseNamedMatrix
Definition: mne_types.h:316
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition: mne_global.h:56
MNELIB::MneDeriv::SPtr
QSharedPointer< MneDeriv > SPtr
Definition: mne_deriv.h:76
MNELIB::MneDeriv
One item in a derivation data set.
Definition: mne_deriv.h:73
MNELIB::MneDeriv::ConstSPtr
QSharedPointer< const MneDeriv > ConstSPtr
Definition: mne_deriv.h:77
fiff_types.h
Definitions for describing the objects in a FIFF file.