Hi Brad, this is Ben:
By following this thread(http://www.k-wave.org/forum/topic/getting-started-with-mrict-scans-intracranial-pressure-maps-skull-aberration?replies=5#post-6368) I managed to define a skull as heterogeneous density profile mask ran the simulation successfully. Problem is, the skull is not showing up at the final RMS and MAX pressure plots. I successfully put skull on the short video/animation during the simulation by setting the display mask to the skull, but stuck on doing that on the final plots.
What can I do to add the display mask on the final result plots?
Thank you!!
I attached that part of the code here:
----------------------------------------------------------------------------------------
figure
imagesc(kgrid.y_vec * 1e3, kgrid.x_vec * 1e3, sensor_data.p_rms, source_mag * [0, 2]);
colormap(jet(256));
ylabel('x-position [mm]');
xlabel('y-position [mm]');
axis image;
title('RMS Pressure');
scaleFig(2, 1);
colorbar
-------------------------------------------------------------------------------------------
Which I basically copied from the pattern field example.