get.slepians {RSEIS}R Documentation

Get Slepian Tapers

Description

Return a matrix of Slepian tapers

Usage

get.slepians(npoints = 900, nwin = 5, npi = 3)

Arguments

npoints

Number of points to return

nwin

Number of windows (default =5)

npi

Pi-Prolate numerber (3)

Details

This function onlyu returns the tapers for inspection. To apply the tapers use the function mtapspec.

Value

Matrix: nwin vectors of npoints Slepian tapers

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

References

Lees, J. M. and Park, J., 1995: Multiple-taper spectral analysis: A stand-alone C-subroutine, Computers and Geology, 21(2), 199-236.

See Also

mtapspec

Examples


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)




[Package RSEIS version 4.2-0 Index]