View source: R/create_profile.R
create_profile | R Documentation |
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
create_profile(g, h, seg_no, corrL, filename)
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 |
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
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.