create_rect_curved_strip_array()
Description: This function creates a cylindrical section array of rectangular transducers.
Usage
transducer = create_rect_curved_strip_array(nx, ny, width, height, kerf, r_curv);
Arguments
- nx Number of elements in the x direction.
- ny Number of subelements 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. This is the total height of each curved element, so the height of each subelement will be height/ny.
- kerf Kerf (edge-to-edge spacing) in the x direction.
- r_curv Radius of curvature of the array.
Output Parameters
- transducer An array of transducer structs.
Notes
The curve of cylinder is on the y axis, with elements rotated about the x 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.
This function will use individual rectangular elements to model the curved array elements. More subelements will result in better curvature but will increase the calculation time.
Example
% Set up the transducer array
width = 1e-3;
height = 10e-3;
kerf = 0.4e-3;
x_elements = 16;
y_elements = 5;
d = x_elements * (width+kerf); % Array aperture
focus_z = d*N;
xdcr_array = create_rect_curved_strip_array(x_elements, y_elements, width, height, kerf, focus_z);
draw_array(xdcr_array);