is.sonar: Identifies whether the acoustic system is a sonar, fishery...

View source: R/is.sonar.R

is.sonarR Documentation

Identifies whether the acoustic system is a sonar, fishery sonar or echosounder, for exactly one ping is 'data' is given.

Description

Identifies whether the acoustic system is a sonar, fishery sonar or echosounder, for exactly one ping is 'data' is given.

Usage

is.sonar(
  esnm = "MS70",
  bydirs = FALSE,
  data = list(),
  margin = 10 * pi/180,
  bmmd = NULL,
  fishery = FALSE
)

Arguments

esnm

the four character identifyer of the acoustical system. Currently implemented: echosounders: "EK60", "ME70"; sonars: "MS70", "SX80", "SH80", "SX90", "SH90".

bydirs

is TRUE if the elevation angle of the beams should be used to identify sonars by the requirement that none of the beams should be within 'margin' of the vertical orientation.

data

is an optional list of beam configuration data.

margin

is the margin around the vertical orientation outside which all beams must be to be identified as sonar.

bmmd

is the desired mean mode of the system, which should be set for instance for fishery sonars.

fishery

is TRUE to return TRUE only for fishery sonars (not including MS70).


arnejohannesholmin/sonR documentation built on April 14, 2024, 11:39 p.m.