Learn R Programming

AtmRay (version 1.31)

Prop.lin_no_c: Acoustic Ray Tracing

Description

Given a ray parameter, azimuth, source/receiver elevations, calculates where ray lands at receiver elevation. Does not use compiled C code, so is slower, but in case of some bug in the C code, this function will still work.

Usage

Prop.lin_no_c(p, az, zs, zr, ATM = CheckAtm.lin(list()))

Arguments

p
ray parameter (s/m)
az
azimuth (degrees)
zs
source elevation (m)
zr
receiver elevation (m)
ATM
Linear atmosphere

Value

x, y
ending position of ray
t
arrival time of ray
A
arrival amplitude
p
ray parameter

References

Garces, M.A., Hansen, R.A., Lindquist, K.G., 1998. Traveltimes for infrasonic waves propagating in a stratified atmosphere. Geophysical Journal International 135, 255-263.

Examples

Run this code
ATM = CheckAtm.lin()
Prop.lin_no_c(0.001, 45, 100, 0, ATM)

Run the code above in your browser using DataLab