EVExportWBST_FR: Export Wideband Single Targets Frequency Response

View source: R/EVExportWBST_FR.R

EVExportWBST_FRR Documentation

Export Wideband Single Targets Frequency Response

Description

This function exports the broadband single targets frequency response

Usage

EVExportWBST_FR(
  EVFile = EVFile,
  STVar,
  outfn,
  AverageResults = 0,
  MinMax = 0,
  WindowSize = 1,
  WindowUnit = 2,
  EVVar
)

Arguments

EVFile

An Echoview file COM object

STVar

An Wideband Single Target Detection Echoview Variable, accepts inputs as Character, list or Variable object (COMIDispatch)

outfn

FIlename for the TS export

MinMax

Include Min and Max

WindowSize

Set the WIndow Size

WindowUnit

Unit of the window 0 = Meters, 1 = Pulse Lengths, 2 = Samples

EVVar

Specifies a TS pulse compressed wideband variable for frequency response calculations.

References

http://support.echoview.com/WebHelp/Echoview.htm/

Examples

## 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
#Set the First and second Operand
EVVar <- "Fileset 1: TS pulse compressed wideband pings T1"
Operand2 <- "Fileset 1: angular position pulse compressed wideband pings T1"
#Create a wideband single target detection varable
ST <- EVSTWideband(EVFile=EVFile,EVVar=EVVar,Operand2=Operand2)
# Change TS detection threshold
ST <- EVSTWideband(EVFile=EVFile,EVVar=EVVar,Operand2=Operand2,TsThreshold=-90)
#Export the single target frequency response
EVExportWBST_FR(ST,"WB_ST_FR.csv",0,0,1,2,EVVar)

## End(Not run)


AustralianAntarcticDivision/EchoviewR documentation built on Aug. 21, 2023, 6:56 p.m.