<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: Plane wave scatters</title>
		<link>http://www.k-wave.org/forum/topic/plane-wave-scatters</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 13:32:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/plane-wave-scatters" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Plane wave scatters"</title>
			<link>http://www.k-wave.org/forum/topic/plane-wave-scatters#post-5848</link>
			<pubDate>Mon, 13 Mar 2017 11:57:30 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5848@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Johan,&#60;/p&#62;
&#60;p&#62;You need to define a value for the density, although you don't necessarily need to make it heterogeneous. However, at least in soft tissue, there is a reasonably strong correlation between sound speed and density (see &#60;a href=&#34;http://asa.scitation.org/doi/abs/10.1121/1.1336896&#34;&#62;here&#60;/a&#62; for example). &#60;/p&#62;
&#60;p&#62;I'd also advise constraining the sound speed and density between biologically relevant minimum and maximum values. Otherwise, &#60;code&#62;randn&#60;/code&#62; may select a very large or small value (which is what you have noticed).&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>johanbn on "Plane wave scatters"</title>
			<link>http://www.k-wave.org/forum/topic/plane-wave-scatters#post-5834</link>
			<pubDate>Fri, 17 Feb 2017 13:59:22 +0000</pubDate>
			<dc:creator>johanbn</dc:creator>
			<guid isPermaLink="false">5834@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, I'm a student from Norway. &#60;/p&#62;
&#60;p&#62;In my master thesis need I to have data from scattering of plane wave, with a given steering angle. And with assumption that the medium has different sound speed maps in given regions.  &#60;/p&#62;
&#60;p&#62;I tried to modify B-mode transducer example by setting focus and elevation focus to inf.&#60;br /&#62;
And some modification on how to set up the medium. &#60;/p&#62;
&#60;p&#62;My goal is too have data that is just a speckle pattern where you cant dissolve any region even if some regions have different SOS. &#60;/p&#62;
&#60;p&#62;And to get the code to run, I had to define a density_map. Is this correct to include? Given that I want to characterize my region whit different SOS ?&#60;/p&#62;
&#60;p&#62;Is this possible to generate?&#60;/p&#62;
&#60;p&#62;My changes to the code:&#60;/p&#62;
&#60;p&#62;% properties used to derive the beamforming delays&#60;br /&#62;
transducer.focus_distance = inf;&#60;br /&#62;
transducer.elevation_focus_distance = inf;&#60;br /&#62;
transducer.sound_speed = c0;                % sound speed [m/s]&#60;br /&#62;
transducer.steering_angle = 0;              % steering angle [degrees]&#60;/p&#62;
&#60;p&#62;% define a random distribution of scatterers for the medium&#60;br /&#62;
background_map = 75*randn([Nx_tot, Ny_tot, Nz_tot]);&#60;/p&#62;
&#60;p&#62;% define a sligthly translated data for region whit different SOS.&#60;br /&#62;
scattering_c0 = c0 + 25 + background_map;&#60;br /&#62;
scattering_rho0 = scattering_c0/1.5;&#60;/p&#62;
&#60;p&#62;% define properties&#60;br /&#62;
sound_speed_map = c0*ones(Nx_tot, Ny_tot, Nz_tot).*background_map;&#60;br /&#62;
density_map = rho0*ones(Nx_tot, Ny_tot, Nz_tot).*background_map;&#60;/p&#62;
&#60;p&#62;% define a sphere for a  scattering region whit different SOS.&#60;br /&#62;
radius = 4.5e-3;    % [m]&#60;br /&#62;
x_pos = 20e-3;    % [m]&#60;br /&#62;
y_pos = 20e-3;    % [m]&#60;br /&#62;
scattering_region1 = makeBall(Nx_tot, Ny_tot, Nz_tot, round(x_pos/dx), round(y_pos/dx), Nz_tot/2, round(radius/dx));&#60;/p&#62;
&#60;p&#62;% assign region&#60;br /&#62;
sound_speed_map(scattering_region1 == 1) = scattering_c0(scattering_region1 == 1);&#60;br /&#62;
density_map(scattering_region1 == 1) = scattering_rho0(scattering_region1 == 1);&#60;/p&#62;
&#60;p&#62;I also had to set &#60;/p&#62;
&#60;p&#62;medium.sound_speed_ref = 1540;&#60;/p&#62;
&#60;p&#62;otherwise It was like 639876. &#60;/p&#62;
&#60;p&#62;Thank you&#60;br /&#62;
Johan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
