Description Usage Arguments Details Value Author(s) Examples
Convert between ray angle (from vertical) and ray parameter.
1 2 3 |
phase |
Arrival phase (e.g. 'P' or 'SKS') |
h |
Depth (km) at which to convert. |
angle |
Takeoff angle (degrees). 0 is downward, 180 is upward |
p |
Ray parameter (s/deg) |
model |
Planet model |
vp |
P wave velocity at depth h (km/s) |
vs |
S wave velocity at depth h (km/s) |
rp |
Planet radius (km) |
Either 'model' or all of 'vp', 'vs', 'rp' must be provided. p and angle may be vectors; other arguments may not.
For ConvAng2p, returns a vector of ray parameters (s/deg) corresponding to values in 'angle'.
For ConvP2Ang, returns a vector twice the length of 'p', with all upward angles corresponding to 'p' followed by all downward angles.
Jake Anderson
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.