Hi all,
I was wondering from the Ultrasound B-Mode simulation, how do you determine the tgc_alpha value in the time gain compensation step? (in the example it is 0.4).
% create time gain compensation function based on attenuation value,
% transmit frequency, and round trip distance
tgc_alpha = 0.4; % [dB/(MHz cm)]
tgc = exp(2 * tgc_alpha * tone_burst_freq * 1e-6 * r * 100);
Also, if I want to simulate the three balls example in a medium made of water (c0 = 1480 [m/s], rho0 = 1000 [m/s], medium.alpha_coeff = 0.0022 [dB/(MHz^y cm)], and medium.alpha_power = 2.0), how should I modify the tgc_alpha value? Would the tgc_alpha be the same as the medium.alpha.coeff?