ConvP2Vdepthinv: Vertex Depth and Ray Parameter

Description Usage Arguments Details Value Author(s) Examples

View source: R/ConvP2Vdepthinv.R

Description

Calculate vertex depth given ray parameter or vice-versa.

Usage

1
2
ConvP2Vdepth(p, v, r, h, rp, discons)
ConvP2Vdepthinv(rpd, v, r)

Arguments

rpd

Ray vertex radius (km)

v

Planet velocity structure (km/s)

r

Radii corresponding to v

p

Ray parameter (s/deg)

h

Focal radius (km)

rp

Planet radius (km)

discons

Vector of discontinuity radii (km, from FindDiscon)

Details

Note that these functions use radii, not depths, so h would be 6371 (or whatever planet radius you're using) - focal depth.

Value

ConvP2Vdepth: Radius of ray vertex (km)

ConvP2Vdepthinv: Ray parameter (s/deg)

Author(s)

Jake Anderson

Examples

1
2
3
4
5
data(model)

ConvP2Vdepth(7, model$vp, 6371 - model$z, 6361, 6371, FindDiscon(model))

ConvP2Vdepthinv(4881.467, model$vp, 6371 - model$z)

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