28#ifndef MULTITAPER_TFR_H
29#define MULTITAPER_TFR_H
97 double halfBandwidth = 4.0,
115 const Eigen::RowVectorXd& vecFreqs,
116 double nCycles = 7.0,
117 double timeBandwidth = 4.0,
118 bool zeroMean =
true);
Export/import macros and namespace declaration for the DSP library.
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Result of a multitaper TFR computation.
QVector< Eigen::MatrixXd > tfrData
One matrix per channel, each: n_freqs × n_times.
Eigen::RowVectorXd vecTimes
Time axis in seconds (window centres).
Eigen::RowVectorXd vecFreqs
Frequency axis in Hz.
Sliding-window multitaper time-frequency representation.
static MultitaperTfrResult compute(const Eigen::MatrixXd &matData, double sfreq, int windowSize=256, int stepSize=-1, double halfBandwidth=4.0, int nTapers=-1)
static MultitaperTfrResult computeArray(const Eigen::MatrixXd &matData, double sfreq, const Eigen::RowVectorXd &vecFreqs, double nCycles=7.0, double timeBandwidth=4.0, bool zeroMean=true)