Learn R Programming

TauP.R (version 1.0)

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:
  • praypP wave ray parameter
  • sraypS wave ray parameter
  • newzVertex depth

See Also

ConvP2Vdepth, ConvP2Vdepthinv

Examples

Run this code
data(model)

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

Run the code above in your browser using DataLab