How is the field of view calculated for the B-mode image generation? I see in the code the following in the plotting code:
sound_speed_map(:, 1 + Ny/2:end - Ny/2, Nz/2)
So the transducer was set to be at the midpoint. So, should the field of view not be something like:
startIdx = Ny/2 - transducer_width/2
sound_speed_map(:, startIdx:startIdx + transducer_width, Nz/2)
Would really appreciate any clarification on this.