Dear All,
Hi,
I would like to change the size of the grid to use transducers of different dimension.
For example, I would like to resize the grid of the example example_us_bmode_linear_transducer.m to use a 192 elements transducer instead a 32 elements transducer:
%physical properties of the transducer with 192 elements
transducer.number_elements = 192; % total number of transducer elements
transducer.element_width = 2; % width of each element [grid points]
transducer.element_length = 24; % length of each element [grid points]
transducer.element_spacing = 0; % spacing (kerf width) between the elements [grid points]
transducer.radius = inf; % radius of curvature of the transducer [m]
Is it correct to set grid as below?
% set the size of the perfectly matched layer (PML)
pml_x_size = 20; % [grid points]
pml_y_size = 10; % [grid points]
pml_z_size = 10; % [grid points]
% set total number of grid points not including the PML
Nx = 156 - 2*pml_x_size; % [grid points]
Ny = 768 - 2*pml_y_size; % [grid points]
Nz = 128 - 2*pml_z_size; % [grid points]
Could be better to put Ny equal a power of 2 (es. Ny=2^9)?
Is there a general rule to manage grid sizing ?
Thank you a lot
Gg