adaptiveWeightsCpp: Calculate Multitaper Adaptive Weights

Description Usage Arguments Details Value

Description

Used to calculate the adaptive weights on eigenspectra using a bound on the broadband bias.

Usage

1
adaptiveWeightsCpp(eigenSpec, ev, k, nFFT)

Arguments

eigenSpec

A matrix with columns containing the eigenspectra

ev

A vector with the eigenvalues of the Slepian tapers.

k

A numeric integer representing the number of tapers to use.

nFFT

A numeric integer representing the total number of frequency bins that were used to estimate the spectra.

Details

When estimating the variance, this function will overestimate because it includes the zero and nyquist frequency twice (should only be once).

Value

A matrix containing the weights for each eigenspectra at each frequency.


driegert/transfer documentation built on May 15, 2019, 2:11 p.m.