Description Usage Arguments Details Value Author(s) Examples
View source: R/ConvP2Vdepthinv.R
Calculate vertex depth given ray parameter or vice-versa.
1 2 | ConvP2Vdepth(p, v, r, h, rp, discons)
ConvP2Vdepthinv(rpd, v, r)
|
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) |
Note that these functions use radii, not depths, so h would be 6371 (or whatever planet radius you're using) - focal depth.
ConvP2Vdepth: Radius of ray vertex (km)
ConvP2Vdepthinv: Ray parameter (s/deg)
Jake Anderson
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.