ek2echogram | R Documentation |
Convert imported EK60 raw data to class “echogram”.
ek2echogram(
ekraw,
frequency = 1,
data = "Sv",
environment = NULL,
calibration = NULL
)
ekraw |
Imported EK60 data, as returned by |
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. |
This function calls the sampleRange
and convertPower
functions to produce an object of class
“echogram”.
A vector with sample range (m).
Héctor Villalobos.
read.echogram
.
if(interactive()){
ek <- read.EK60_raw("D20130504-T083828.raw", parseNMEA = TRUE, angles = TRUE)
eco <- ek2echogram(ek, frequency = 1, data = "Sv")
echogram(eco)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.