Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.slepians

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 \& 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)

RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.