CalcTP: Calculate Layer Traveltime

Description Usage Arguments Details Value Author(s) Examples

View source: R/CalcTP.R

Description

Calculates the traveltime through a single layer.

Usage

1
CalcTP(p, v, z, zmin, zmax, novertex = 0)

Arguments

p

Ray Parameter (s/deg)

v

Velocities at top and bottom of layer (km/s)

z

Depth at top and bottom of layer (km)

zmin

Minimum allowed depth in layer (km)

zmax

Maxiumum allowed depth in layer (km)

novertex

Optional: if TRUE, vertex cannot be found in layer

Details

Regrettably, this routine is not vectorized. This will be corrected in later versions. This is a subordinate routine to CalcTPsum.

Value

Traveltime between zmin and zmax (s).

Author(s)

Jake Anderson

Examples

1
### Can only be called from CalcTPsum

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