fun_eps: Returns a function for the echo ability 'eps*' equal to the...

View source: R/fun_eps.R

fun_epsR Documentation

Returns a function for the echo ability 'eps*' equal to the optimal acoustic cross sectional area of a target divided by the length of the target to the desired power (usually squared). The function fun_eps() has 2 methods depending on the type of the input object 'data'.

Description

Returns a function for the echo ability 'eps*' equal to the optimal acoustic cross sectional area of a target divided by the length of the target to the desired power (usually squared). The function fun_eps() has 2 methods depending on the type of the input object 'data'.

Usage

fun_eps(data = NULL, Nl = 1, method = c("closest", "linear", "constant"))

Arguments

data

may be of 2 different types: (1) a function of 1 argument representing the acoustic cross sectional area of the target as a function of frequency, and (2) a list representing the empirical acoustic cross sectional area of a source in intervals or at points of the arguments. Names for the elements of the list adopted from read.TSD(): [['grff']] - A vector of arbitrary length representing the grid vector of acoustic frequency, and [['eps*']] - A vector no shorter than length(grff) holding the echo ability 'eps*' corresponding to the frequency grid vector 'grff'.

Nl

is the number of targets from which the echo is simulated.

method

defines the interpolation method.


arnejohannesholmin/echoIBM documentation built on April 14, 2024, 11:37 p.m.