Mark Palmeri
Mark Palmeri
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...
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...
Yep, wide open for use! I have a lot of probe definitions for Siemens probes, but those are considered proprietary... any chance you are working under a Siemens MRA thought...
Not likely... but I can commit some templates. What probe type(s) are you looking to use? Linear? Curvilinear? Phased? Matrix?
I just realized that there is a template probe file in the repository already, but it is mislabeled: `probe_linear.m`. That should actually be `probe_linear.txt`; it is ultimately read in using...
outside for-loop: ``` %Predefine interpolants for X Y and Z displacement data Fx = scatteredInterpolant(nodes(:,2),nodes(:,3),nodes(:,4),zeros(size(nodes,1),1)); Fy = scatteredInterpolant(nodes(:,2),nodes(:,3),nodes(:,4),zeros(size(nodes,1),1)); Fz = scatteredInterpolant(nodes(:,2),nodes(:,3),nodes(:,4),zeros(size(nodes,1),1)); ```
inside for-loop: ``` %Update the X Y and Z displacement values in the interpolants from disp.dat slice Fx.Values = zdisp_slice(:,2); Fy.Values = zdisp_slice(:,3); Fz.Values = zdisp_slice(:,4); %Perform interpolation of arbitrary...
Look into using numpy or scipy interpolation.
I tried to implement a change in the call that sets phantom.amplitude to randn() and pulled it outside of the for loop so that it only happens once in the...
Need to add unit test for this!