MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Vector plot. More...
#include <tfplot.h>
Public Types | |
typedef QSharedPointer< TFplot > | SPtr |
typedef QSharedPointer< const TFplot > | ConstSPtr |
Public Member Functions | |
TFplot (Eigen::MatrixXd tf_matrix, qreal sample_rate, qreal lower_frq, qreal upper_frq, ColorMaps cmap) | |
TFplot (Eigen::MatrixXd tf_matrix, qreal sample_rate, ColorMaps cmap) | |
Protected Member Functions | |
void | calc_plot (Eigen::MatrixXd tf_matrix, qreal sample_rate, ColorMaps cmap, qreal lower_frq, qreal upper_frq) |
virtual void | resizeEvent (QResizeEvent *event) |
typedef QSharedPointer<const TFplot> DISPLIB::TFplot::ConstSPtr |
typedef QSharedPointer<TFplot> DISPLIB::TFplot::SPtr |
TFplot::TFplot | ( | Eigen::MatrixXd | tf_matrix, |
qreal | sample_rate, | ||
qreal | lower_frq, | ||
qreal | upper_frq, | ||
ColorMaps | cmap = Jet |
||
) |
Constructs TFplot class
[in] | tf_matrix | given spectrogram. |
[in] | sample_rate | given sample rate of signal related to th spectrogram. |
[in] | lower_frq | lower bound frequency, that should be plotted. |
[in] | upper_frq | upper bound frequency, that should be plotted. |
[in] | cmap | colormap used to plot the spectrogram. |
Definition at line 65 of file tfplot.cpp.
TFplot::TFplot | ( | Eigen::MatrixXd | tf_matrix, |
qreal | sample_rate, | ||
ColorMaps | cmap = Jet |
||
) |
Constructs TFplot class
[in] | tf_matrix | given spectrogram. |
[in] | sample_rate | given sample rate of signal related to th spectrogram. |
[in] | cmap | colormap used to plot the spectrogram. |
Definition at line 102 of file tfplot.cpp.
|
protected |
Calculates a image to plot the tf_matrix
[in] | tf_matrix | given spectrogram. |
[in] | sample_rate | given sample rate of signal related to th spectrogram. |
[in] | cmap | colormap used to plot the spectrogram. |
[in] | lower_frq | lower bound frequency, that should be plotted. |
[in] | upper_frq | upper bound frequency, that should be plotted. |
Definition at line 111 of file tfplot.cpp.