MNE-CPP
0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
src
libraries
disp
plots
tfplot.h
Go to the documentation of this file.
1
//=============================================================================================================
34
#ifndef TFPLOT_H
35
#define TFPLOT_H
36
37
//=============================================================================================================
38
// INCLUDES
39
//=============================================================================================================
40
41
#include "../disp_global.h"
42
43
//=============================================================================================================
44
// QT INCLUDES
45
//=============================================================================================================
46
47
#include <QWidget>
48
49
//=============================================================================================================
50
// EIGEN INCLUDES
51
//=============================================================================================================
52
53
#include <Eigen/Core>
54
#include <Eigen/SparseCore>
55
#include <unsupported/Eigen/FFT>
56
57
//=============================================================================================================
58
// FORWARD DECLARATIONS
59
//=============================================================================================================
60
61
//=============================================================================================================
62
// DEFINE NAMESPACE DISPLIB
63
//=============================================================================================================
64
65
namespace
DISPLIB
66
{
67
68
//=============================================================================================================
69
// DISPLIB FORWARD DECLARATIONS
70
//=============================================================================================================
71
72
enum
ColorMaps {
73
Hot,
74
HotNeg1,
75
HotNeg2,
76
Jet,
77
Bone,
78
RedBlue
79
};
80
81
//=============================================================================================================
87
class
DISPSHARED_EXPORT
TFplot
:
public
QWidget
88
{
89
Q_OBJECT
90
91
public
:
92
typedef
QSharedPointer<TFplot>
SPtr
;
93
typedef
QSharedPointer<const TFplot>
ConstSPtr
;
95
//=========================================================================================================
106
TFplot
(Eigen::MatrixXd tf_matrix,
107
qreal sample_rate,
108
qreal lower_frq,
109
qreal upper_frq,
110
ColorMaps cmap);
111
112
//=========================================================================================================
121
TFplot
(Eigen::MatrixXd tf_matrix,
122
qreal sample_rate,
123
ColorMaps cmap);
124
125
protected
:
126
//=========================================================================================================
137
void
calc_plot(Eigen::MatrixXd tf_matrix,
138
qreal sample_rate,
139
ColorMaps cmap,
140
qreal lower_frq,
141
qreal upper_frq);
142
143
virtual
void
resizeEvent(QResizeEvent *event);
144
};
145
}
// NAMESPACE
146
147
#endif
// TFPLOT_H
DISPSHARED_EXPORT
#define DISPSHARED_EXPORT
Definition
disp_global.h:55
DISPLIB::TFplot
Vector plot.
Definition
tfplot.h:88
DISPLIB::TFplot::ConstSPtr
QSharedPointer< const TFplot > ConstSPtr
Definition
tfplot.h:93
DISPLIB::TFplot::SPtr
QSharedPointer< TFplot > SPtr
Definition
tfplot.h:92
Generated on Sat Feb 14 2026 16:30:23 for MNE-CPP by
1.9.8