Learn R Programming

TauP.R (version 1.0)

TransformF2Sz: Flat Earth Transformation

Description

Transform Flat Earth depth/velocity/distance/ray parameter to Round Earth, and vice-versa.

Usage

TransformF2Sz(vf, zf, rp)
TransformS2Fz(vs, zs, rp)
TransformS2Fp(ps, rp)
TransformF2Sdist(xf, rp)

Arguments

vf
Flat-Earth velocity (km/s)
zf
Flat-Earth depth (km)
rp
Planet radius (km)
vs
Round-Earth velocity (km/s)
zs
Round-Earth depth (km)
ps
Round-Earth ray parameter (s/deg)
xf
Flat-Earth horizontal distance (km)

Value

  • TransformF2Sz:
  • vsRound-Earth velocity (km/s)
  • zsRound-Earth depth (km)
  • vfFlat-Earth velocity (km/s)
  • zfFlat-Earth depth(km)

Examples

Run this code
TransformF2Sz(19, 2700, 6371)

TransformS2Fz(12.5, 2800, 6371)

TransformS2Fp(10, 6371)

TransformF2Sdist(10000, 6371)

Run the code above in your browser using DataLab