MakeArrivals.lin: Calculate Arrival Function

Description Usage Arguments Details Value Author(s) Examples

View source: R/MakeArrivals.lin.R

Description

Calculates arrival time and arrival amplitude of many sources to produce an arrival function.

Usage

1
MakeArrivals.lin(xs, ys, zs, xr, yr, zr, dt, nt, timing, ATM = CheckAtm.lin(list()))

Arguments

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

Details

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.

Value

Returns a matrix of dimension nt x length(rx), with rows corresponding to time steps and columns to receivers.

Author(s)

Jake Anderson

Examples

1
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())

AtmRay documentation built on May 2, 2019, 6:52 a.m.