echoIBM.calibrate: Calibrates (and writes the calibration data to file) the...

Description Usage Arguments

View source: R/echoIBM.calibrate.R

Description

Calibrates (and writes the calibration data to file) the simulation of observations from the MS70 sonar performed by echoIBM(). Not used in any of the other echoIBM code files.

Usage

1
2
3
4
5
echoIBM.calibrate(directory = NULL, cruise = "S2009116", event = 1,
  esnm = "MS70", type = c("sv", "ts"), dire = NULL, runs = 1,
  add = 30, N = 1e+05, j = 100, sgbs = 1e-06, max.memory = 1e+09,
  method = c("closest", "linear"), max.radius = 0.2, seed = 0,
  cores = 1, usemean = FALSE, nameadd = "")

Arguments

directory

the path to the directory in which to put the calibration file (use TRUE for the default directory file.path(echoIBM_datasets_directory(), "Resources", "Calibration")).

cruise

is either the idenfication number of the cruise, given as specified by the IMR (yyyynnn), or the path to the directory containing the event on which the calibration should be based.

event

is the identifier of the event, either given as the number of the event, a string contained in the name of the event, or the path of the event directory.

esnm

is the name of the acoustical instrument, given as a four character string. See sonR_implemented() for the implemented systems. May be given in 'data', and in lower case.

type

is "sv" for calibrating the simulation model with respect to volume scattering 'sv' and "ts" for calibrating the simulation model with respect to backscattering cross section / target strength.

runs

is an integer giving the number of simulated pings of which the mean is taken as the final calibration factors.

add

is the angle in degrees to add on either end of the insonifying volume of the acoustical instrument, defining the volume in which point targets are distributed.

N

is the number of point targets used in the calibration.

j

is the sampling interval to use for the calibration (should be larger than 2).

sgbs

is the backscattering cross section of the point targets.

max.memory

is used in echoIBM to set the maximum memory for echoIBM to occupy.

filetag

is a string to add to the file name.


arnejohannesholmin/echoIBM documentation built on March 19, 2018, 9:16 a.m.