MakeArrivals.lin {AtmRay} | R Documentation |
Calculates arrival time and arrival amplitude of many sources to produce an arrival function.
MakeArrivals.lin(xs, ys, zs, xr, yr, zr, dt, nt, timing, ATM = CheckAtm.lin(list()))
xs |
source location abscissae (m) |
ys |
source location ordinates (m) |
zs |
source location elevations (m) |
xr |
receiver location abscissae (m) |
yr |
receiver location ordinates (m) |
zr |
receiver location elevations (m) |
dt |
time interval (s) |
nt |
number of time steps to evaluate |
timing |
source times (s) |
ATM |
linear atmosphere |
This is suitable for calculating arrival functions for spatially distributed acoustic sources. Each of sx, sy, and sz should be the same length, and each of rx, ry, and rz should be the same length.
Returns a matrix of dimension nt x length(rx), with rows corresponding to time steps and columns to receivers.
Jake Anderson
MakeArrivals.lin(xs = c(100, 150), ys = c(100, 150), zs = c(100, 150), xr = 0, yr = 0, zr = 0, dt = 0.01, nt = 100, timing = c(0, 0), ATM = CheckAtm.lin())