<?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: Modelling directivity of a linear transducer array</title>
		<link>http://www.k-wave.org/forum/topic/modelling-directivity-of-a-linear-transducer-array</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:02:25 +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/modelling-directivity-of-a-linear-transducer-array" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Modelling directivity of a linear transducer array"</title>
			<link>http://www.k-wave.org/forum/topic/modelling-directivity-of-a-linear-transducer-array#post-7102</link>
			<pubDate>Wed, 23 Oct 2019 00:01:01 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">7102@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Francis, &#60;/p&#62;
&#60;p&#62;If you have a single point detector (a single 1 in a binary mask) then it will be equally sensitive to waves arriving at it (passing over it) from all directions. You can endow it with a directional sensitivity by defining the direction in which it will be most sensitive to (by giving a single value to &#60;code&#62;sensor.directivity_angle&#60;/code&#62;. The directional pattern (the sensitivity at the other angles) can be either set to &#60;code&#62;sensor.directivity_pattern = &#38;#39;gradient&#38;#39;&#60;/code&#62;, which gives a cosine dependence or &#60;code&#62;sensor.directivity_pattern = &#38;#39;pressure&#38;#39;&#60;/code&#62; which gives the kind of dependence you would get from spatial averaging (hence this also requires &#60;code&#62;sensor.directivity_size&#60;/code&#62; to be set, as that is the averaging area that would give the same directional response). Of course, you could just do the spatial averaging by hand yourself but I wouldn't do that by setting the angle to 0 but by not setting any directivity at all, ie. average the measurements from a set of omnidirectional point detectors.&#60;/p&#62;
&#60;p&#62;You might also want to look at the Transducer class. See the 'Defining An Ultrasound Transducer' Example.&#60;/p&#62;
&#60;p&#62;Hope that helps!&#60;/p&#62;
&#60;p&#62;Best wishes,&#60;br /&#62;
Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>K_J_Francis on "Modelling directivity of a linear transducer array"</title>
			<link>http://www.k-wave.org/forum/topic/modelling-directivity-of-a-linear-transducer-array#post-7068</link>
			<pubDate>Mon, 07 Oct 2019 13:05:20 +0000</pubDate>
			<dc:creator>K_J_Francis</dc:creator>
			<guid isPermaLink="false">7068@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;What is the best way to model the directivity of a linear transducer array using k-Wave? We are trying to simulate a 128 element, 7MHz transducer. The goal is to mimic directivity as close as possible to the measured one. As per k-Wave examples, there are two ways (i) using spatial averaging and (ii) by modifying sensor.directivity_angle. &#60;/p&#62;
&#60;p&#62;We are performing 2D simulations and to be more realistic, we considered the second option of assigning directivity angle to each sensor point. How should we assign the sensor.directivity_angle matrix? We thought of the following implementations and we would like to know how to make it more realistic?&#60;/p&#62;
&#60;p&#62;(i)  Assume that there are 5 sensor points in a transducer element. Should we assign [-θ2 -θ1 0 θ1 θ2], corresponding to 5 sensor points of an element and repeat it for all 128 elements to obtain sensor.directivity_angle? θi are equispaced angles within the opening angle of the single element.&#60;/p&#62;
&#60;p&#62;(ii) Consider the whole transducer array and assigning equispaced angles as in the k-Wave example.&#60;br /&#62;
dir_angles = (-1:1/15:1).' * pi/2;&#60;br /&#62;
sensor.directivity_angle = zeros(Nx, Ny);&#60;br /&#62;
sensor.directivity_angle(sensor.mask == 1) = dir_angles;&#60;br /&#62;
In this case, how to change it to the directivity of the transducer, considering each element has an opening angle and transducer has the combined effect?&#60;/p&#62;
&#60;p&#62;(iii) Simply make all sensor element forward-looking (sensor.directivity_angle(sensor.mask == 1) = 0) and spatial averaging of sensor points within an element. Is this an option?&#60;/p&#62;
&#60;p&#62;Is there a better way to implement the same?&#60;/p&#62;
&#60;p&#62;Thank you,&#60;br /&#62;
Francis
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
