powered by
Multi-tape Method Spectrum
mtapspec(a, dt, klen = length(a), MTP = NULL)
vector time series
sample rate
length of fft
MTM parameters, list:
kind of taper average
number of windows
number of Pi-prolate functions
normalization flag
LIST
input data
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
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 \& Geology, 21(2), 199-236.
fft
# NOT RUN { 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