edgedir2D: Calculates the edge points of an acoustic device based on the...

View source: R/edgedir2D.R

edgedir2DR Documentation

Calculates the edge points of an acoustic device based on the CTD-data, using edge points along the beam maxima as basis, and extracting the vertical dimension (elevation angle) from the vertical angular distance between beam maxima. !!!Only one time step is treated!!!!

Description

Calculates the edge points of an acoustic device based on the CTD-data, using edge points along the beam maxima as basis, and extracting the vertical dimension (elevation angle) from the vertical angular distance between beam maxima. !!!Only one time step is treated!!!!

Usage

edgedir2D(
  data,
  seabed = -12000,
  rot = 1,
  compensation = c("pitch", "roll"),
  ideal = TRUE,
  stretch = 1,
  fanWidth = "b2",
  ...
)

Arguments

data

is the list of TSD inputs as returned from read.TSD (must contain ""dira" and "dire", and CTD-data).

seabed

is the z-coordinate of the sea bed, usually provided by echo sounder data. Soundbeams reflected from the sea bed or the surface are reflected at the incidence angle.

rot

is 1 if simple rotation using cosine and sine is to be used, and 2 if the function rotate() is to be used in the rotation. Times for the different methods (tested on MacBook Pro dual 2.8 GHz, 2010-02-09, with other applications running):

compensation

is a vector of string giving which rotation values that are compensated for in the sonar. Only c("pitch","roll") is available for the current version. Used in soundbeam.TSD.

ideal

is TRUE to represent the simple case where the speed of sound 'data$asps' is invariant of depth.

stretch

is used to stretch the voxels of the ME70 multibeam echosounder in the direction of motion, so that space in between voxels is smoothed out.

fanWidth

has a number of possible values: (1) "b1": one way beam width. (2) "b2": two way beam width. (3) "fe": beams modeled by rectangular cones with width withing the fan given by the inter-beam angle, and calculated using the equivalent beam angle. This normally causes larged fan width due to overlap between beams.

...

Used for robutness.


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