DWBAscat2: Computes ka

View source: R/DWBAbscat.R

DWBAscat2R Documentation

Computes ka

Description

Computes ka

Usage

DWBAscat2(para, misc, app = FALSE, shplot = TRUE)

Arguments

para

[list] A list containing all the model parameters (../doc/parameters.html)

misc

[list] A list with misc parameters, containing at least the soundspeed of the surrounding fluid cw

app

TRUE or FALSE [boolean], defines if the function is used within a shiny app or not. If app==TRUE the progressbar inside the app will be updated.

shplot

TRUE [boolean] produce shape plot

Value

list of ka, the wavelength k * the width a; f the square-root of the orientation aveaged scattering cross-section

Examples

#Get filename of the parameters file
fname <- paste0(system.file(package = "ZooScatR"),"/extdata/configs/config_0.dat")
#Read in teh parameter
para = read_para(fname)
#Create list with soundspeed info
misc <- list()
misc$cw <- 1500
DWBAscat2(para,misc)

AustralianAntarcticDivision/ZooScatR documentation built on Aug. 13, 2022, 1:21 a.m.