Learn R Programming

TauP.R (version 1.5)

ConvVdepth2p: Vertex Depth to Ray Parameter

Description

Calculates ray parameter given the vertex depth of a ray.

Usage

ConvVdepth2p(model, z)

Arguments

model

planet model

z

Vertex depth (km)

Value

A list with the following elements:

prayp

P wave ray parameter

srayp

S wave ray parameter

newz

Vertex depth

See Also

ConvP2Vdepth, ConvP2Vdepthinv

Examples

Run this code
# NOT RUN {
data(model)

ConvVdepth2p(model, 300) # calculates p for a ray bottoming at 300 km
# }

Run the code above in your browser using DataLab