Traveltime: Earthquake traveltimes

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

View source: R/Traveltime.R

Description

Calculates traveltimes between focus and receiver(s).

Usage

1
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.

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.

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)

Author(s)

Jake Anderson

See Also

Rayfan, DistSummary, FindDist4p, FindTime4p

Examples

1
2
3
4
data(model)

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

TauP.R documentation built on May 2, 2019, 3:25 a.m.