create_circ_csa()
Description: This function creates a cylindrical section array of circular transducers.
Usage
transducer = create_circ_csa(nx, ny, radius, kerf_x, kerf_y, r_curv);
transducer = create_circ_csa(nx, ny, radius, kerf_x, kerf_y, r_curv, override);
Arguments
- nx Number of elements in the x direction.
- ny Number of elements in the y direction.
- radius Radius each element in m. All elements in the array will be the same size.
- kerf_x Kerf (edge-to-edge spacing) in the x direction.
- kerf_y Kerf (edge-to-edge spacing) in the y direction.
- r_curv Radius of curvature of the apparatus.
- override Omit to allow error checking, any value to bypass error checking.
Output Parameters
- transducer A 2-d array of transducer structs. The first element is at transducer(1,1) and the last element is at transducer(nx,ny).
Notes
The curve of cylinder is on the x axis, with elements rotating
about the y axis. The center of the array is defined to be the center of the element anchoring 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 32 x 12 cylindrical section array of 1mm elements
el_x = 32;
el_y = 12;
radius = 1e-3;
kerf_x = 0.5e-3;
kerf_y = 0.6e-3;
r_curv = 200e-3;
xdcr = create_circ_csa(el_x, el_y, radius, kerf_x, kerf_y, r_curv);
draw_array(xdcr);


