MNE-CPP
0.1.9
A Framework for Electrophysiology
Namespaces
Namespace List
API Reference
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
c
i
m
n
p
s
t
v
Properties
Related Functions
Files
File List
File Members
All
c
d
e
f
i
k
m
n
q
r
u
Functions
Variables
Macros
c
d
e
f
i
m
n
r
u
About
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Properties
Friends
Macros
Pages
src
libraries
mne
mne_epoch_data.h
Go to the documentation of this file.
1
//=============================================================================================================
37
#ifndef MNE_EPOCH_DATA_H
38
#define MNE_EPOCH_DATA_H
39
40
//=============================================================================================================
41
// INCLUDES
42
//=============================================================================================================
43
44
#include "
mne_global.h
"
45
46
#include <
fiff/fiff_types.h
>
47
48
//=============================================================================================================
49
// QT INCLUDES
50
//=============================================================================================================
51
52
#include <QSharedPointer>
53
54
//=============================================================================================================
55
// EIGEN INCLUDES
56
//=============================================================================================================
57
58
#include <Eigen/Core>
59
60
//=============================================================================================================
61
// DEFINE NAMESPACE MNELIB
62
//=============================================================================================================
63
64
namespace
MNELIB
65
{
66
67
//=============================================================================================================
73
class
MNESHARED_EXPORT
MNEEpochData
74
{
75
76
public
:
77
typedef
QSharedPointer<MNEEpochData>
SPtr
;
78
typedef
QSharedPointer<const MNEEpochData>
ConstSPtr
;
80
//=========================================================================================================
84
MNEEpochData
();
85
86
//=========================================================================================================
92
MNEEpochData
(
const
MNEEpochData
&p_MNEEpochData);
93
94
//=========================================================================================================
98
~
MNEEpochData
();
99
100
//=========================================================================================================
106
void
applyBaselineCorrection(
const
QPair<float,float>& baseline);
107
108
//=========================================================================================================
114
void
pick_channels(
const
Eigen::RowVectorXi& sel);
115
116
//=========================================================================================================
124
friend
bool
operator== (
const
MNEEpochData
&a,
const
MNEEpochData
&b)
125
{
126
return
(a.
epoch
== b.
epoch
&&
127
a.
event
== b.
event
&&
128
a.
tmin
== b.
tmin
&&
129
a.
tmax
== b.
tmax
&&
130
a.
bReject
== b.
bReject
);
131
}
132
133
public
:
134
Eigen::MatrixXd
epoch
;
135
FIFFLIB::fiff_int_t
event
;
136
float
tmin
;
137
float
tmax
;
138
bool
bReject
;
139
};
140
}
// NAMESPACE
141
142
#endif // MNE_EPOCH_DATA_H
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition:
mne_global.h:56
MNELIB::MNEEpochData::SPtr
QSharedPointer< MNEEpochData > SPtr
Definition:
mne_epoch_data.h:77
MNELIB::MNEEpochData::tmin
float tmin
Definition:
mne_epoch_data.h:136
MNELIB::MNEEpochData::tmax
float tmax
Definition:
mne_epoch_data.h:137
MNELIB::MNEEpochData
epoch data
Definition:
mne_epoch_data.h:73
mne_global.h
mne library export/import macros.
MNELIB::MNEEpochData::epoch
Eigen::MatrixXd epoch
Definition:
mne_epoch_data.h:134
fiff_types.h
Definitions for describing the objects in a FIFF file.
MNELIB::MNEEpochData::bReject
bool bReject
Definition:
mne_epoch_data.h:138
MNELIB::MNEEpochData::ConstSPtr
QSharedPointer< const MNEEpochData > ConstSPtr
Definition:
mne_epoch_data.h:78
MNELIB::MNEEpochData::event
FIFFLIB::fiff_int_t event
Definition:
mne_epoch_data.h:135
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17