Hello Bradley,
I am trying to model a circular transducer without the makeTransducer() function and I'm unsure how to do that without using the focus() function as shown in examples. Do you have any suggestions? Here is what I have so far:
source_strength = 0.076e6; % [Pa]
tone_burst_freq = 1.5e6; % [Hz]
tone_burst_cycles = 60;
source_radius = 15; % [grid points]
source_shape = makeDisc(Ny, Nz, Ny/2, Nz/2, source_radius);
source_z_pos = 1; % [grid points]
source.p_mask = zeros(Nx, Ny, Nz);
source.p_mask(source_z_pos,:,:) = source_shape;
input_signal = toneBurst(1/kgrid.dt, tone_burst_freq,
tone_burst_cycles,'Plot',true,'Envelope','Rectangular',
'SignalLength',(1/kgrid.dt)*200e-6);
input_signal = (source_strength./(medium.sound_speed*medium.density)).*input_signal;
So what do I do with the input_signal from here. I believe I need to use it in a function to obtain source.p? I don't want the beam pattern to be focused. Thanks!