Calculates ray parameter and azimuth of a ray that reaches
some given point, using a 2-D iterative optimization search. 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
P4X.lin_no_c(x, y, zs, zr, ATM = CheckAtm.lin(), maxerror = 3)
Arguments
x
Abscissa of receiver relative to source (m)
y
Ordinate of receiver relative to source (m)
zs
Elevation of source (m)
zr
Elevation of receiver (m)
ATM
Linear atmosphere
maxerror
Maximum permitted error for solution (m)
Value
p
ray parameter
az
azimuth
error
distance between inputs (x,y) and final position of
result ray
Details
'maxerror' should be set with the necessary arrival time precision in
mind. Smaller values of maxerror will produce more accurate arrival
locations (and arrival times), but will require longer calculation times.