create_rect_enclosed_csa()
Description: This function creates a fully-enclosed cylindrical section array of rectangular transducers.
Usage
transducer = create_rect_enclosed_csa(nx, ny, width, height, kerf_y, r_curv);
transducer = create_rect_enclosed_csa(nx, ny, width, height, kerf_y, r_curv);
Arguments
- nx Number of elements in the x direction.
- ny Number of elements in the y direction.
- width Width of a single element in meters, all elements in the array are the same size.
- height Height of a single element in meters, all elements in the array are the same size.
- kerf_y Kerf (edge-to-edge spacing) in the y direction.
- r_curv Radius of curvature 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 array generated will be a cylinder with its center along the y-axis. The elements will be located along the edge of the cylinder in series of rings in x and z.
Example
% Create a 128 x 5 enclosed cylindrical section array of 1mm x 5mm elements
el_x = 128;
el_y = 5;
width = 1e-3;
height = 5e-3;
kerf_y = 0.5e-3;
r_curv = 45e-3;
xdcr = create_rect_enclosed_csa(el_x, el_y, width, height, kerf_y, r_curv);
draw_array(xdcr);