Skip to contents

Generate a CAL-class object.

Usage

cal_generate(
  material = "WC",
  diameter = 0.0381,
  sound_speed_longitudinal = NULL,
  sound_speed_transversal = NULL,
  density_sphere = NULL,
  theta_sphere = pi,
  ID = NULL,
  diameter_units = "m",
  theta_units = "radians",
  n_segments = 100
)

Arguments

material

Material-type for the soldi sphere. See 'Details' built-in material options.

diameter

Spherical diameter (m).

sound_speed_longitudinal

Longitudinal sound speed (m/s).

sound_speed_transversal

Transversal sound speed (m/s).

density_sphere

Density (kg/m^3).

theta_sphere

Backscattering direction (Default: pi radians).

ID

Optional metadata ID input.

diameter_units

Compatibility argument. cal_generate() now assumes meters and ignores non-SI alternatives.

theta_units

Compatibility argument. cal_generate() now assumes radians and ignores non-SI alternatives.

n_segments

Number of segments to discretize object shape.

Value

Generates a CAL-class object.

Details

There are several options for the material argument:

MaterialArgumentc1c2\(\rho1\)Tungsten carbide
"WC"6853417114900Stainless steel"steel"
598032977970Brass"brass"4372
21008360Copper"Cu"47602288.5
8947Aluminum"Al"626030802700

See also

Examples

cal_generate(material = "WC", diameter = 38.1e-3, n_segments = 120)
#> CAL-object
#>  Calibration sphere
#>  ID:Calibration sphere
#> Material:WC
#>  Sphere longitudinal sound speed:6853m/s
#>  Sphere transversal sound speed:4171m/s
#>  Sphere density:14900kg/m^3
#> Diameter:0.0381 m
#>  Radius:0.01905 m
#> Propagation direction of the incident sound wave:3.142 radians