<?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: adding additional sensor mask</title>
		<link>http://www.k-wave.org/forum/topic/adding-additional-sensor-mask</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:26:15 +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/adding-additional-sensor-mask" rel="self" type="application/rss+xml" />

		<item>
			<title>sheun on "adding additional sensor mask"</title>
			<link>http://www.k-wave.org/forum/topic/adding-additional-sensor-mask#post-4482</link>
			<pubDate>Mon, 21 Apr 2014 09:15:23 +0000</pubDate>
			<dc:creator>sheun</dc:creator>
			<guid isPermaLink="false">4482@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;It worked like I wished. Thanks for the tip.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "adding additional sensor mask"</title>
			<link>http://www.k-wave.org/forum/topic/adding-additional-sensor-mask#post-4392</link>
			<pubDate>Sat, 29 Mar 2014 09:52:24 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4392@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi sheun,&#60;/p&#62;
&#60;p&#62;The easiest way would be to create a binary sensor mask the same size as your computational grid, and then set the central plane to 1's. For example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;sensor.mask = zeros(Nx, Ny, Nz);
sensor.mask(:, :, focus_distance) = 1;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;where &#60;code&#62;focus_distance&#60;/code&#62; is given in grid points. You can control what parameters are recorded by using &#60;code&#62;sensor.record&#60;/code&#62;. For example, to record the time-varying and maximum pressure:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;sensor.record = {&#38;#39;p&#38;#39;, &#38;#39;p_max&#38;#39;};&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If the datasets are too large, you can also control when the sensor starts recording by setting &#60;code&#62;sensor.record_start_index&#60;/code&#62;. Let me know if you still can't get it working,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sheun on "adding additional sensor mask"</title>
			<link>http://www.k-wave.org/forum/topic/adding-additional-sensor-mask#post-4388</link>
			<pubDate>Thu, 27 Mar 2014 07:33:23 +0000</pubDate>
			<dc:creator>sheun</dc:creator>
			<guid isPermaLink="false">4388@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hello,&#60;/p&#62;
&#60;p&#62;I am doing 3D heterogeneous simulation with linear 16 cell transducer using makeTransducer function. The transducer is placed on the top(1, Ny/2,Nz/2).&#60;/p&#62;
&#60;p&#62;What I would like to do here is to find beam size as it reaches the focus distance.&#60;br /&#62;
I've been trying to add 2D sensor mask at (Nx, Ny, focus distance) and see the pressure distribution and record it over time(if not, the max pressure on that plane), but I've had no luck.&#60;/p&#62;
&#60;p&#62;Could you please give guidance on how to do this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
