beamPattern.TSD: Returns a function for the beam pattern of an acoustic...

View source: R/beamPattern.TSD.R

beamPattern.TSDR Documentation

Returns a function for the beam pattern of an acoustic source. The function beamPattern() has 3 methods depending on the type of the input object 'data'. Inputs are prioritized as (1) functions, (2) NULL, (3) empirical tables, (4) character strings naming functions.

Description

Returns a function for the beam pattern of an acoustic source. The function beamPattern() has 3 methods depending on the type of the input object 'data'. Inputs are prioritized as (1) functions, (2) NULL, (3) empirical tables, (4) character strings naming functions.

Usage

beamPattern.TSD(data, method = c("closest", "linear"))

Arguments

data

is a list elements defining the beam pattern (parametric or empirical). Names for the elements of the list adopted from read.TSD(). Asterix "*" is either "f", "1" or "2", representing the school (fish), the echo sounder at emission, or the echo sounder at reception:

method

is "closest" if the beam pattern value of the closest grid point is to be selected, and "linear" if linear interpolation should be used to extract the beam pattern value (time demanding and only available for 2D grids).


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