get.slepians | R Documentation |
Return a matrix of Slepian tapers
get.slepians(npoints = 900, nwin = 5, npi = 3)
npoints |
Number of points to return |
nwin |
Number of windows (default =5) |
npi |
Pi-Prolate numerber (3) |
This function onlyu returns the tapers for inspection. To apply the tapers use the function mtapspec.
Matrix: nwin vectors of npoints Slepian tapers
Jonathan M. Lees<jonathan.lees.edu>
Lees, J. M. and Park, J., 1995: Multiple-taper spectral analysis: A stand-alone C-subroutine, Computers and Geology, 21(2), 199-236.
mtapspec
nwin <- 5
npi <- 3
npoints <- 900
sleps <- get.slepians(npoints, nwin, npi)
matplot(sleps, type='l', xlab="Index", ylab="Taper Amplitude")
legend('topleft', legend=1:nwin, lty=1:nwin, col=1:nwin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.