-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Dear Professor Palmeri,
Thank you for creating such nice projects and letting everyone use them!
I succeeded to simulate some shear wave propagations thanks to your other repo. And now I would like to simulate the imaging part that tracks the shear waves.
I ran the ultra_driver.m as I downloaded from your repo. It ran smoothly, however, only output one RF line (45904*1) and one t0 value (0). I was expecting 192 RF lines since the linear array probe file (probe_linear_template.txt) states 192 elements, and the estimate_disp.m takes as input a matrix of RF data (which is logical to me).
I tried to debug and wondered if it has something to do with:
PARAMS.XSTEP = 0; % Azimuth step size (m);
PARAMS.XMAX= 0; % Rightmost scan line (m)
I then tried with these values (deduced from probe_linear_template.txt):
PARAMS.XSTEP = 0.0002; % kerf+width
PARAMS.XMAX= 0.0002*191+0.00018; % (kerf+width)*191+width
However, after some steps (around for the 147th line), I got an apodization problem and the code stopped to run.
Could you please help me with some indications to have as output a matrix of RF data?
Thank you very much,
Xufei