v2.0.0
Loading...
Searching...
No Matches
UTILSLIB::Dpss Class Reference

Discrete Prolate Spheroidal Sequences (Slepian tapers). More...

#include <dpss.h>

Static Public Member Functions

static DpssResult compute (int nSamples, double halfBandwidth, int nTapers=-1, bool sym=true, bool lowBias=false)

Detailed Description

Discrete Prolate Spheroidal Sequences (Slepian tapers).

Computes DPSS tapers via the tridiagonal eigenvalue formulation. These tapers are used by the multitaper spectral estimator to achieve optimal spectral concentration within a given half-bandwidth.

Definition at line 71 of file dpss.h.

Member Function Documentation

◆ compute()

DpssResult Dpss::compute ( int nSamples,
double halfBandwidth,
int nTapers = -1,
bool sym = true,
bool lowBias = false )
static

Compute DPSS tapers for a given window length and half-bandwidth.

Parameters
[in]nSamplesWindow length N in samples.
[in]halfBandwidthHalf-bandwidth parameter (NW); typical values: 2, 3, 4.
[in]nTapersNumber of tapers to return; -1 → floor(2*halfBandwidth - 1).
[in]symfalse: periodic tapers for spectral analysis, i.e. the first N samples of the length N + 1 tapers (scipy dpss sym=False, used by MNE-Python).
[in]lowBiasKeep only tapers with concentration > 0.9, at least the first (MNE-Python low_bias).
Returns
DpssResult with matTapers (nTapers × N) and vecEigenvalues.

Definition at line 48 of file dpss.cpp.


The documentation for this class was generated from the following files: