You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
You are correct in your assessment of XSTEP and XMAX; those will define your scan lines. This code is not generating channel data for you; it is beamformed data at the "x" positions (along the length of the transducer) that you specify in step size and a max, assuming 0 is the center of the array.
With respect to your error, can you post the exact output here?
In re-reading your question, it may be that XMAX has exceeded the size of the aperture, based on the physical extended defined by the number of elements (it looks like you're specifying going 50% beyond the actual array size since 0 is the middle of the array).
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
The text was updated successfully, but these errors were encountered: