convertPower | R Documentation |
Convert acoustic power from imported EK60 raw files to Sv or TS data.
convertPower(ekraw, frequency = NULL, output = "Sv", saCorr)
ekraw |
Imported EK60 data, as returned by |
frequency |
An integer corresponding to index of the transceiver in the data to convert. |
output |
A string indicating whether the power should be converted to acoustic backscattering strength (“Sv”) or to target strength (“TS”). |
saCorr |
sa correction value from calibration |
While the function operates on the EK60 data, it should be preferable
used through ek2echogram
, which will convert the ek data to echogram.
A two dimensions array [depth samples, pings] with the desired output.
Héctor Villalobos.
ek2echogram
.
if(interactive()){
ek <- read.EK60_raw("D20130504-T083828.raw", parseNMEA = TRUE, angles = TRUE)
Sv <- convertPower(ek, output = "Sv")
image(Sv)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.