Learn R Programming

RSEIS (version 4.2-4)

GETARAIC: Auto-Regressive AIC estimate of arrival time

Description

Auto-Regressive AIC for arrival estimate, signal detection

Usage

GETARAIC(z4, DT = 0.008, Mar = 8, O1 = 2, O2 = 0.2, WW = 2, T1 = 1, PLOT = FALSE)

Value

Taic

Arrival time of wave

Arguments

z4

signal time series

DT

sample rate,s

Mar

AR Model Order

O1

window before, s

O2

window after, s

WW

window length, s

T1

initial guess, number of samples from beginning of trace

PLOT

logical, TRUE =plot

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Method of Sleeman for automatic phase determination.

References

Sleeman

See Also

PSTLTcurve

Examples

Run this code


data(CE1)
plot(CE1$x, CE1$y, type='l')

Xamp = CE1$y[CE1$x>4.443754 & CE1$x<6.615951]
Mar=8
z4 = Xamp
DT = CE1$dt
 T1 = 50

O1 = 10*DT
O2 =  10*DT
WW = 10*DT
Nz4 = length(z4)


 araict = GETARAIC(Xamp, DT=CE1$dt, Mar=8, T1=T1, O1=O1, O2=O2, WW=WW,   PLOT=TRUE)


Run the code above in your browser using DataLab