MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_meas_data_set.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef MNEMEASDATASET_H
38#define MNEMEASDATASET_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "../inverse_global.h"
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// QT INCLUDES
54//=============================================================================================================
55
56#include <QSharedPointer>
57#include <QDebug>
58
59typedef void (*mneUserFreeFuncTmp_1)(void *); /* General purpose */
60
61//=============================================================================================================
62// DEFINE NAMESPACE INVERSELIB
63//=============================================================================================================
64
65namespace INVERSELIB
66{
67
68//=============================================================================================================
69// FORWARD DECLARATIONS
70//=============================================================================================================
71
72class MneMneData;
73
74//=============================================================================================================
81{
82public:
83 typedef QSharedPointer<MneMeasDataSet> SPtr;
84 typedef QSharedPointer<const MneMeasDataSet> ConstSPtr;
86 //=========================================================================================================
92
93 //=========================================================================================================
99
100public:
101 /*
102 * These are unique to each data set
103 */
104 QString comment; /* Comment associated with these data */
105 float **data; /* The measured data */
106 float **data_proj; /* Some programs maybe interested in keeping the data after SSP separately */
107 float **data_filt; /* Some programs maybe interested in putting a filtered version here */
108 float **data_white; /* The whitened data */
109 float *stim14; /* Data from the digital stimulus channel */
110 int first; /* First sample index for raw data processing */
111 int np; /* Number of times */
112 int nave; /* Number of averaged responses */
113 int kind; /* Which aspect of data */
114 float tmin; /* Starting time */
115 float tstep; /* Time step */
116 float *baselines; /* Baseline values currently applied to the data */
117 MneMneData* mne; /* These are the data associated with MNE computations */
118 void *user_data; /* Anything else we want */
119 mneUserFreeFuncTmp_1 user_data_free; /* Function to set the above free */
120
121// ### OLD STRUCT ###
122//typedef struct { /* One data set, used in mneMeasData */
123// /*
124// * These are unique to each data set
125// */
126// char *comment; /* Comment associated with these data */
127// float **data; /* The measured data */
128// float **data_proj; /* Some programs maybe interested in keeping the data after SSP separately */
129// float **data_filt; /* Some programs maybe interested in putting a filtered version here */
130// float **data_white; /* The whitened data */
131// float *stim14; /* Data from the digital stimulus channel */
132// int first; /* First sample index for raw data processing */
133// int np; /* Number of times */
134// int nave; /* Number of averaged responses */
135// int kind; /* Which aspect of data */
136// float tmin; /* Starting time */
137// float tstep; /* Time step */
138// float *baselines; /* Baseline values currently applied to the data */
139// INVERSELIB::MneMneData* mne; /* These are the data associated with MNE computations */
140// void *user_data; /* Anything else we want */
141// mneUserFreeFunc user_data_free; /* Function to set the above free */
142//} *mneMeasDataSet,mneMeasDataSetRec;
143};
144
145//=============================================================================================================
146// INLINE DEFINITIONS
147//=============================================================================================================
148} // NAMESPACE INVERSELIB
149
150#endif // MNEMEASDATASET_H
#define INVERSESHARED_EXPORT
One data set, used in mneMeasData.
QSharedPointer< const MneMeasDataSet > ConstSPtr
QSharedPointer< MneMeasDataSet > SPtr