Learn R Programming

RSEIS (version 2.1-6)

mtapspec: MTM spectrum

Description

Multi-tape Method Spectrum

Usage

mtapspec(a, dt, klen = length(a), MTP = NULL)

Arguments

a
vector time series
dt
sample rate
klen
length of fft
MTP
MTM parameters, list: [object Object],[object Object],[object Object],[object Object]

Value

  • LIST
  • datinput data
  • dtsample rate
  • specamplitude spectrum
  • dofdegrees of freedom for each frequency
  • FvF-values for each frequency
  • Rspecreal part of complex spectrum
  • Ispecimaginary part of complex spectrum
  • freqfrequencies
  • dfdelta frequency
  • numfreqsnumber of frequencies
  • klenlength used in fft
  • mtminput MTM parameters, see above

Details

MTP represent parameters that control the multi-tape pi-prolate functions used by mtapspec. See reference for details.

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

fft

Examples

Run this code
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