create_spherical_shell_planar_array()
Description: Creates a planar array of spherical shell transducers.
Usage
transducer = create_spherical_shell_planar_array(nx, ny, a, r, kerf_x, kerf_y);
transducer = create_spherical_shell_planar_array(nx, ny, a, r, kerf_x, kerf_y,center);
transducer = create_spherical_shell_planar_array(nx, ny, a, r, kerf_x, kerf_y,center, override);
Arguments
- nx Number of elements in the x direction.
- ny Number of elements in the y direction.
- a Radius of the elements in meters.
- r Radius of curvature of the elements in meters.
- kerf_x Kerf (edge-to-edge spacing) in the x direction.
- kerf_y Kerf (edge-to-edge spacing) in the y direction.
- center Three element array describing the coordinates of the center of the array.
- override Omit to allow error checking, any value to bypass error checking.
Output Parameters
- transducer An array of transducer structs.
Notes
The center of the array is defined to be the geometric center
of the rectangle that bounds the array. All coordinates are expressed in meters.
Transducer arrays used one-dimensional indexing prior to FOCUS version 0.332. One-dimensional indexing is still possible, though the indices may not match those used in older versions of FOCUS.
Calling this function with no arguments will cause the program to prompt the user for each required value.
Example
% Create a 4 x 3 planar array of 3mm x 6mm elements
el_x = 4;
el_y = 3;
radius = 3e-3;
geometric_focus = 6e-3;
kerf_x = 1e-3;
kerf_y = 1e-3;
xdc = create_spherical_shell_planar_array(el_x, el_y, radius, geometric_focus, kerf_x, kerf_y);
draw_array(xdc);


