Learn R Programming

TauP.R (version 1.5)

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:

vs

Round-Earth velocity (km/s)

zs

Round-Earth depth (km)

TransformS2Fz:

vf

Flat-Earth velocity (km/s)

zf

Flat-Earth depth(km)

TransformS2Fp: Flat-Earth ray parameter (s/km)

TransformF2Sdist: Round-Earth surface distance (deg)

Examples

Run this code
# NOT RUN {
TransformF2Sz(19, 2700, 6371)

TransformS2Fz(12.5, 2800, 6371)

TransformS2Fp(10, 6371)

TransformF2Sdist(10000, 6371)

# }

Run the code above in your browser using DataLab