Sliding-window multitaper time-frequency representation. More...
#include <multitaper_tfr.h>
Static Public Member Functions | |
| static MultitaperTfrResult | compute (const Eigen::MatrixXd &matData, double sfreq, int windowSize=256, int stepSize=-1, double halfBandwidth=4.0, int nTapers=-1) |
Sliding-window multitaper time-frequency representation.
Slides a fixed-length analysis window across the data and computes a multitaper PSD at each position, yielding a time-frequency power map per channel.
Definition at line 87 of file multitaper_tfr.h.
|
static |
Compute sliding-window multitaper TFR for every channel of a data matrix.
| [in] | matData | Data matrix (n_channels × n_times). |
| [in] | sfreq | Sampling frequency in Hz. |
| [in] | windowSize | Analysis window length in samples (default 256). |
| [in] | stepSize | Step size in samples; -1 → windowSize / 2. |
| [in] | halfBandwidth | Half-bandwidth parameter (NW); default 4.0. |
| [in] | nTapers | Number of DPSS tapers; -1 → floor(2*halfBandwidth - 1). |
Definition at line 68 of file multitaper_tfr.cpp.