v2.0.0
Loading...
Searching...
No Matches
tfplot.h File Reference

Time-frequency spectrogram widget rendering an Eigen matrix as a colour image. More...

#include "../disp_global.h"
#include <QWidget>
#include <Eigen/Core>
#include <Eigen/SparseCore>
#include <unsupported/Eigen/FFT>
Include dependency graph for tfplot.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::TFplot
 Time-frequency spectrogram QWidget rendering an Eigen matrix as a colour image. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Enumerations

enum  DISPLIB::ColorMaps {
  DISPLIB::Hot , DISPLIB::HotNeg1 , DISPLIB::HotNeg2 , DISPLIB::Jet ,
  DISPLIB::Bone , DISPLIB::RedBlue
}

Detailed Description

Time-frequency spectrogram widget rendering an Eigen matrix as a colour image.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

TFplot accepts a spectrogram matrix (rows = frequency bins, columns = time samples) together with a sample rate and a colour-map choice (Hot, Jet, Bone, RedBlue and signed variants) and paints it into a QWidget with frequency-band cropping support. It is used by the TF-MNE viewer to inspect Wavelet / STFT spectrograms in stand-alone windows without depending on the heavier 3-D pipeline.

Definition in file tfplot.h.