v2.0.0
Loading...
Searching...
No Matches
src
libraries
inverse
c
mne_meas_data_set.h
Go to the documentation of this file.
1
//=============================================================================================================
36
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
59
typedef
void (*
mneUserFreeFuncTmp_1
)(
void
*);
/* General purpose */
60
61
//=============================================================================================================
62
// DEFINE NAMESPACE INVERSELIB
63
//=============================================================================================================
64
65
namespace
INVERSELIB
66
{
67
68
//=============================================================================================================
69
// FORWARD DECLARATIONS
70
//=============================================================================================================
71
72
class
MNEMneData;
73
74
//=============================================================================================================
80
class
INVERSESHARED_EXPORT
MNEMeasDataSet
81
{
82
public
:
83
typedef
QSharedPointer<MNEMeasDataSet>
SPtr
;
84
typedef
QSharedPointer<const MNEMeasDataSet>
ConstSPtr
;
85
86
//=========================================================================================================
91
MNEMeasDataSet
();
92
93
//=========================================================================================================
98
~MNEMeasDataSet
();
99
100
public
:
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
mneUserFreeFuncTmp_1
void(* mneUserFreeFuncTmp_1)(void *)
Definition
mne_meas_data_set.h:59
inverse_global.h
inverse library export/import macros.
INVERSESHARED_EXPORT
#define INVERSESHARED_EXPORT
Definition
inverse_global.h:52
INVERSELIB
Inverse source estimation (MNE, dSPM, sLORETA, dipole fitting).
Definition
braintreemodel.h:55
INVERSELIB::MNEMeasDataSet::np
int np
Definition
mne_meas_data_set.h:111
INVERSELIB::MNEMeasDataSet::SPtr
QSharedPointer< MNEMeasDataSet > SPtr
Definition
mne_meas_data_set.h:83
INVERSELIB::MNEMeasDataSet::data_filt
float ** data_filt
Definition
mne_meas_data_set.h:107
INVERSELIB::MNEMeasDataSet::data_white
float ** data_white
Definition
mne_meas_data_set.h:108
INVERSELIB::MNEMeasDataSet::kind
int kind
Definition
mne_meas_data_set.h:113
INVERSELIB::MNEMeasDataSet::tstep
float tstep
Definition
mne_meas_data_set.h:115
INVERSELIB::MNEMeasDataSet::data_proj
float ** data_proj
Definition
mne_meas_data_set.h:106
INVERSELIB::MNEMeasDataSet::MNEMeasDataSet
MNEMeasDataSet()
Definition
mne_meas_data_set.cpp:70
INVERSELIB::MNEMeasDataSet::ConstSPtr
QSharedPointer< const MNEMeasDataSet > ConstSPtr
Definition
mne_meas_data_set.h:84
INVERSELIB::MNEMeasDataSet::data
float ** data
Definition
mne_meas_data_set.h:105
INVERSELIB::MNEMeasDataSet::user_data
void * user_data
Definition
mne_meas_data_set.h:118
INVERSELIB::MNEMeasDataSet::comment
QString comment
Definition
mne_meas_data_set.h:104
INVERSELIB::MNEMeasDataSet::tmin
float tmin
Definition
mne_meas_data_set.h:114
INVERSELIB::MNEMeasDataSet::first
int first
Definition
mne_meas_data_set.h:110
INVERSELIB::MNEMeasDataSet::stim14
float * stim14
Definition
mne_meas_data_set.h:109
INVERSELIB::MNEMeasDataSet::nave
int nave
Definition
mne_meas_data_set.h:112
INVERSELIB::MNEMeasDataSet::baselines
float * baselines
Definition
mne_meas_data_set.h:116
INVERSELIB::MNEMeasDataSet::mne
MNEMneData * mne
Definition
mne_meas_data_set.h:117
INVERSELIB::MNEMeasDataSet::user_data_free
mneUserFreeFuncTmp_1 user_data_free
Definition
mne_meas_data_set.h:119
Generated on
for MNE-CPP by
1.16.1