View source: R/EVBottomDetection.R
EVBottomDetection | R Documentation |
This function runs a bottom detection on an echogram Bottom algorithms and settings are explained in the [Echoview Help File]('https://support.echoview.com/WebHelp/Reference/Algorithms/Line_picking_algorithm.htm')
EVBottomDetection(
EVFile,
EVVar,
LineName = "Bottom",
algorithm = NULL,
StartDepth = NULL,
StopDepth = NULL,
MinSv = NULL,
UseBackstep = NULL,
DiscriminationLevel = NULL,
BackstepRange = NULL,
PeakThreshold = NULL,
MaxDropouts = NULL,
WindowRadius = NULL,
MinPeakAssymmetry = NULL,
replaceOldBottom = TRUE,
SpanGaps = TRUE
)
EVFile |
An Echoview file COM object |
EVVar |
An Echoview Variable, accepts inputs as Character, list or Variable object (COMIDispatch) |
LineName |
Character of the output name for the detected Line |
algorithm |
numeric [0 - 2] Defines which bottom detection algorithm should be used: 0 for Delta Sv, 1 for Maximum Sv, 2 for Best bottom Candidate |
StartDepth |
numeric [m] Minimum bottom detection depth |
StopDepth |
numeric [m] maximum bottom detection detpth |
MinSv |
numeric [dB] minimum detection Sv |
UseBackstep |
Boolean [True or False] |
DiscriminationLevel |
numeric [dB] Minimum discrimination threshold |
BackstepRange |
numeric [m] Backstep range |
PeakThreshold |
numeric [dB] Threshold for peak detection |
MaxDropouts |
numeric [samples] Maximum number of dropout samples before bottom detection fails |
WindowRadius |
numeric [samples] Search window size |
MinPeakAssymmetry |
numeric |
replaceOldBottom |
Boolean (TRUE or FALSE) If TRUE and a line with the same name as LineName already exists, the old line will be overwritten with the new one |
SpanGaps |
Boolean (TRUE or FALSE) Decides wheteher span gaps is activated or notm default=TRUE |
http://support.echoview.com/WebHelp/Echoview.htm/
## Not run:
#To be added - Needs Example data
#Starting Echoview
echoview = StartEchoview()
#Create a new EV File
EVFile <- EVCreateNew(EVAppObj=echoview, dataFiles = "rawfile.raw")$EVFile
Varname <- "Fileset 1: Sv pulse compressed wideband pings T1"
bottom <- EVBottomDetection(EVFile, EVVar=Varname, LineName="Bottom")
# Change the algorithm to Best bottom candidate
bottom <- EVBottomDetection(EVFile, EVVar=Varname, LineName="Bottom",algorithm=2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.