Learn R Programming

TauP.R (version 1.5)

Traveltime: Earthquake traveltimes

Description

Calculates traveltimes between focus and receiver(s).

Usage

Traveltime(phase, delta, h, model, pscan = NULL)

Arguments

phase

Phase of arrival (such as 'P', 'SKKS', 'PKIKP', etc.)

delta

Epicentral distance (degrees)

h

Focal Depth (km)

model

Planet model

pscan

Optional: pscan produced by MakePscan.

Value

List with the following elements:

tt

vector of traveltimes (s)

p

vector of ray parameters (s/deg)

angles

vector of takeoff angles (degrees)

dists

vector of epicentral distances (degrees)

Details

Only a single phase, h, and model may be provided, but delta may be a vector. Providing pscan can save considerable calculation time, but is specific to each phase/depth combination, so it's not commonly available.

See Also

Rayfan, DistSummary, FindDist4p, FindTime4p

Examples

Run this code
# NOT RUN {
data(model)

delta = seq(from = 30, to = 90, by = 20)
Traveltime('S', delta, 20, model)

# }

Run the code above in your browser using DataLab