Description Usage Arguments Details Value See Also Examples
Produce an un-normalized psd based on an fft and a vector of optimal sine tapers.
1 | resample_mvfft(fftz, tapers, verbose = TRUE, dbl = TRUE, tapcap = 10000L)
|
fftz |
complex; a matrix representing the dual-length |
tapers |
integer; a vector of tapers |
verbose |
logical; should messages be given? |
dbl |
logical; should the code assume |
tapcap |
integer; the maximum number of tapers which can be applied; note that the length is automatically limited by the length of the series. |
To produce a psd estimate with our adaptive spectrum estimation method,
we need only make one fft calculation initially and then apply the weighting
factors given by parabolic_weights
, which this function
does.
list that includes the auto and cross-spectral density, and the number of tapers
1 2 3 | fftz <- complex(real=1:8, imaginary = 1:8)
taps <- 1:4
try(resample_mvfft(fftz, taps))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.