create_profile: create_profile

View source: R/create_profile.R

create_profileR Documentation

create_profile

Description

Create a target material properties profile file

Generate a profile based on a list of g and h values, number of segments and a length correlation

Usage

create_profile(g, h, seg_no, corrL, filename)

Arguments

g

Density contrast g

h

Soundspeed contrast h

seg_no

Number of segments

corrL

Length Correlation factor

filename

path and name .RData file to be saved

Value

Returns a list with all g, h, segment number and length correlation information, which can be used as an input to the material properties of the DWBA model

Examples

create_profile(h = c(rep(1.0281,28),
                     rep(1.0296,29),
                     rep(1.0288,29),
                     rep(1.0292,29),
                     rep(1.0256,29),
                     rep(1.0264,29),
                     rep(1.0275,27)),
               g = c(rep(1.0359,,28),
                     rep(1.0375,29),
                     rep(1.0367,29),
                     rep(1.0371,29),
                     rep(1.0332,29),
                     rep(1.0341,29),
                     rep(1.0353,27)),
               seg_no =7,
               corrL = 20,
               filename="profile1")

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