getresidTT: Travel time residuals

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/getresidTT.R

Description

Given an earthquake location and a set of arrival times, return a vector of residuals.

Usage

1
getresidTT(Ldat, EQ, stas, vel)

Arguments

Ldat

List of arrival times

EQ

List of event location, (lat, lon, z, and time)

stas

station location list

vel

list, velocity structure

Details

1D travel time calculation.

Value

vector of residuals

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

See Also

travel.time1D

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 

#########  LF is a vector of arrival time files
#####  KAM is a set of locations

 load(LF[i])
    
    zip = LeftjustTime(twpx)
    EQ = KAM[[i]]$EQ
    ERR = KAM[[i]]$ERR

    LOC = list(yr=EQ$Time$yr, mo=EQ$Time$mo, dom=EQ$Time$dom, hr=EQ$Time$hr,
       mi=EQ$Time$mi, sec=EQ$Time$sec, jd=EQ$Time$jd, lat=EQ$lat, lon=EQ$lon,
       z=EQ$z, mag=NA,gap=ERR$gap,delta=ERR$distmin,rms=ERR$rms,hozerr=ERR$herr   )

 resids = getresidTT(zip,LOC, stas , vel)


## End(Not run)

Rquake documentation built on Dec. 16, 2020, 5:06 p.m.