P4X.lin: Find Ray Parameter for Distance

Description Usage Arguments Details Value Author(s) Examples

Description

Calculates ray parameter and azimuth of a ray that reaches some given point, using a 2-D iterative optimization search.

Usage

1
P4X.lin(x, y, zs, zr, ATM = CheckAtm.lin(list()), 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)

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.

Value

List with following elements:

p

ray parameter

az

azimuth

error

distance between inputs (x,y) and final position of result ray

Author(s)

Jake Anderson

Examples

1
2
3
ATM = CheckAtm.lin()
P4X.lin(100, 100, 100, 00, ATM)
P4X.lin(100, 100, 100, 00, ATM, 0.01)


Search within the AtmRay package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.