Multitaper power spectral density estimator using DPSS (Slepian) tapers. More...
#include <multitaper_psd.h>
Static Public Member Functions | |
| static MultitaperPsdResult | compute (const Eigen::MatrixXd &matData, double sfreq, double halfBandwidth=4.0, int nTapers=-1, int nFft=-1) |
Multitaper power spectral density estimator using DPSS (Slepian) tapers.
Applies multiple orthogonal DPSS tapers to the data, computes the FFT of each tapered segment, and averages the resulting periodograms weighted by the taper eigenvalues. This provides a PSD estimate with reduced variance compared to a single-taper (periodogram) approach.
Definition at line 83 of file multitaper_psd.h.
|
static |
Compute multitaper PSD for every channel of a data matrix.
| [in] | matData | Data matrix (n_channels × n_times). |
| [in] | sfreq | Sampling frequency in Hz. |
| [in] | halfBandwidth | Half-bandwidth parameter (NW); default 4.0. |
| [in] | nTapers | Number of DPSS tapers; -1 → floor(2*halfBandwidth - 1). |
| [in] | nFft | FFT length; -1 → n_times. |
Definition at line 68 of file multitaper_psd.cpp.