ek2echogram: Convert EK60 data to echogram

View source: R/ek2echogram.R

ek2echogramR Documentation

Convert EK60 data to echogram

Description

Convert imported EK60 raw data to class “echogram”.

Usage

ek2echogram(
  ekraw,
  frequency = 1,
  data = "Sv",
  environment = NULL,
  calibration = NULL
)

Arguments

ekraw

Imported EK60 data, as returned by read.EK60_raw.

frequency

An integer corresponding to index of the transceiver in the data to be converted.

data

A string indicating the desired data: acoustic backscattering strength (“Sv”) or target strength (“TS”).

environment

An optional list with two elements: “soundVelocity” and “absorptionCoeff” calculated according to sea temperature and salinity measured during data collection.

calibration

A list as above, with “gain” and “saCorr” obtained from the echosounder calibration.

Details

This function calls the sampleRange and convertPower functions to produce an object of class “echogram”.

Value

A vector with sample range (m).

Author(s)

Héctor Villalobos.

See Also

read.echogram.

Examples

if(interactive()){
ek <- read.EK60_raw("D20130504-T083828.raw", parseNMEA = TRUE, angles = TRUE)

eco <- ek2echogram(ek, frequency = 1, data = "Sv")
echogram(eco)
}

hvillalo/echogram documentation built on Oct. 2, 2023, 7:28 a.m.