FindTime4p: Travel time for Ray Parameter

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

View source: R/FindTime4p.R

Description

Calculates a travel time given a phase, focal depth, model, and ray parameter.

Usage

1
FindTime4p(phase, h, p, model, anglemode = "rayparm", takeoff = NULL)

Arguments

phase

Arrival phase (e.g. 'P', 'SKS')

h

Focal depth (km)

p

Ray Parameter (s/deg)

model

Planet model

anglemode

One of 'rayparm' (if the input ray parameter is to be used) or 'angle' (if the input takeoff angle is to be used)

takeoff

Takeoff angle (deg)

Details

'takeoff' and 'p' must be scalars–unlike many of the other functions provided, FindTime4p is not vectorized.

Value

tt

Phase travel time (s)

vdep

Vertex radius (km)

resp

Ray parameter (s/deg)

Author(s)

Jake Anderson

See Also

Traveltime, FindDist4pn

Examples

1
2
3
4
5
data(model)

FindTime4p('P', 100, 6, model)

FindTime4p('P', 100, NaN, model, anglemode = 'angle', 40)

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