powered by
Multi-tape Method Spectrum
mtapspec(a, dt, klen = length(a), MTP = NULL)
LIST
input data
sample rate
Estimated power spectrum
degrees of freedom for each frequency
F-values for each frequency
real part of complex spectrum
imaginary part of complex spectrum
frequencies
delta frequency
number of frequencies
length used in fft
input MTM parameters, see above
vector time series
length of fft
MTM parameters, list:
kind of taper average
number of windows
number of Pi-prolate functions
normalization flag
Jonathan M. Lees<jonathan.lees.edu>
MTP represent parameters that control the multi-tape pi-prolate functions used by mtapspec. See reference for details.
Lees, J. M. and Park, J., 1995: Multiple-taper spectral analysis: A stand-alone C-subroutine, Computers and Geology, 21(2), 199-236.
fft
data(CE1) a <- list(y=CE1$y[CE1$x>5.443754 & CE1$x<5.615951], dt=CE1$dt) Mspec <- mtapspec(a$y,a$dt, klen=4096, MTP=list(kind=2,nwin=5, npi=3,inorm=0) )
Run the code above in your browser using DataLab