Learn R Programming

TauP.R (version 1.0)

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:
  • ttvector of traveltimes (s)
  • pvector of ray parameters (s/deg)
  • anglesvector of takeoff angles (degrees)
  • distsvector 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
data(model)

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

Run the code above in your browser using DataLab