Learn R Programming

TauP.R (version 1.5)

CalcTPsum: Calculate Traveltime along Ray Leg

Description

Wrapper for CalcTP to calculate a traveltime over many layers.

Usage

CalcTPsum(p, v, z, zmin, zmax, novertex)

Arguments

p

Ray parameter (s/deg)

v

Velocity vector (km/s)

z

Depth vector (km)

zmin

Minimum depth (km)

zmax

Maximum depth (km)

novertex

Flag to prevent handling of vertices

Value

Traveltime along ray leg (s).

Details

Note that all depths and velocities provided here are in flat earth coordinates. This is a subordinate routine for FindTime4p and is not intended for human use.

Examples

Run this code
# NOT RUN {
##### Subordinate routine
# }

Run the code above in your browser using DataLab