Last data update: 2014.03.03

R: Acoustic Ray Tracing
Prop.lin_no_cR Documentation

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

List including the following elements:

x, y

ending position of ray

t

arrival time of ray

A

arrival amplitude

p

ray parameter

Author(s)

Jake Anderson

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

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

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AtmRay)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AtmRay/Prop.lin_no_c.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Prop.lin_no_c
> ### Title: Acoustic Ray Tracing
> ### Aliases: Prop.lin_no_c
> ### Keywords: misc
> 
> ### ** Examples
> 
> ATM = CheckAtm.lin()
> Prop.lin_no_c(0.001, 45, 100, 0, ATM)
$x
[1] 24.71922

$y
[1] 24.71922

$t
[1] 0.3210131

$A
[1] 3.542091

$p
[1] 0.001

> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>