View source: R/mean_absorption.R
mean_absorption | R Documentation |
This function is used to calculate the mean absorption in salt water over a frequency range.
mean_absorption(freq, r, depth, Ttab = NULL)
freq |
Specifies the frequency range, freq = c(fmin, fmax) in Hz. For a single frequency, use a scalar value for freq. |
r |
The path (slant) length in metres. |
depth |
The depths covered by the path. This can be a single value for a horizontal path or a two component vector i.e., depth = c(dmax, dmin) for a path that extends between two depths. |
Ttab |
(optional) The temperature (a scalar) in degrees C or specifies a temperature profile Ttab = c(depth, tempr) where depth and tempr are equal-sized column vectors. Default value is an isothermal profile of 13 degrees. |
The mean sound absorption over the path in dB.
After Kinsler and Frey pp. 159-160.
mean_absorption(c(25e3, 60e3), 1000, c(0, 700))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.