<?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: 3D sphere sensor and the sensor_data</title>
		<link>http://www.k-wave.org/forum/topic/3d-sphere-sensor-and-the-sensor_data</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 08:18:21 +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/3d-sphere-sensor-and-the-sensor_data" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "3D sphere sensor and the sensor_data"</title>
			<link>http://www.k-wave.org/forum/topic/3d-sphere-sensor-and-the-sensor_data#post-5208</link>
			<pubDate>Fri, 21 Aug 2015 10:24:34 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5208@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Stang,&#60;/p&#62;
&#60;p&#62;The sensor data is ordered using MATLAB's standard column wise linear matrix ordering. There is some more information and an example in Section 3.4 of the k-Wave manual. You can use &#60;code&#62;find&#60;/code&#62; to get the linear index of the sensor positions, e.g., &#60;/p&#62;
&#60;p&#62;   &#60;code&#62;linear_ind = find(sensor.mask == 1);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and &#60;code&#62;ind2sub&#60;/code&#62; to convert these the grid indices if needed, e.g., &#60;/p&#62;
&#60;p&#62;   &#60;code&#62;[x_ind, y_ind, z_ind] = ind2sub([Nx, Ny, Nz], linear_ind);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If you want to re-order the data, you could also look at the function &#60;code&#62;reorderSensorData&#60;/code&#62; (which only works for 2D), and try to replicate this for 3D.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>stang on "3D sphere sensor and the sensor_data"</title>
			<link>http://www.k-wave.org/forum/topic/3d-sphere-sensor-and-the-sensor_data#post-5207</link>
			<pubDate>Thu, 20 Aug 2015 23:33:55 +0000</pubDate>
			<dc:creator>stang</dc:creator>
			<guid isPermaLink="false">5207@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I defined a 3D sphere sensor. Total 4333 sensors are distributed in a 3D sphere. After I run the simulation, all sensors' data is stored in the 2D 'sensor_data' matrix (4333*N).&#60;br /&#62;
It seems each sensor has a row to store the pressure data. But how can I know each sensor's position? I have to do the reconstruction so I have to know where in the sphere does the data recorded from. &#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
