<?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: The relationship between kgrid and cartesian points</title>
		<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:49:53 +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/the-relationship-between-kgrid-and-cartesian-points" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1493</link>
			<pubDate>Mon, 18 Mar 2013 18:51:58 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1493@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;If you are working with experimental data, you should directly set dt and Nt based on your acquisition settings (rather than letting k-Wave estimate a suitable value). In other words, after you create &#60;code&#62;kgrid&#60;/code&#62; using &#60;code&#62;makeGrid&#60;/code&#62;, use something like:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;kgrid.t_array = 0:dt:(Nt - 1)*dt;&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ha5438 on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1472</link>
			<pubDate>Mon, 18 Mar 2013 12:06:37 +0000</pubDate>
			<dc:creator>ha5438</dc:creator>
			<guid isPermaLink="false">1472@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, thanks to your help. &#60;/p&#62;
&#60;p&#62;Now I have some similar reconstructed image.&#60;/p&#62;
&#60;p&#62;But, there still have a problem I can't understand. &#60;/p&#62;
&#60;p&#62;In the Kgrid, how the function calculate the dt? &#60;/p&#62;
&#60;p&#62;Because I set Nx = 500, x = 150e-3, dx = x/Nx = 3e-4 and the medium assumed 1500. &#60;/p&#62;
&#60;p&#62;I thought the dt is dx/medium speed = 3e-4/1500 = 2e-7. But in the matlab, the calculated dt is 6e-9. &#60;/p&#62;
&#60;p&#62;I can 't sure it will affect the data that I loaded into the program, because the sinogram data (360*5000)from my experiment is acquired at 250Mhz sampling rate. &#60;/p&#62;
&#60;p&#62;The dt sould be 1/250M = 4e-9. I guess this parameter must be the same between program and exp, right?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1377</link>
			<pubDate>Tue, 12 Mar 2013 13:40:20 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1377@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;The example is in the toolbox under Photoacoustic Image Reconstruction -&#38;gt; Automatic Sound Speed Selection. The details of how it works can be found &#60;a href=&#34;http://www.medphys.ucl.ac.uk/research/mle/pdf_files/JBO-Treeby-2011.pdf&#34;&#62;here&#60;/a&#62;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ha5438 on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1376</link>
			<pubDate>Tue, 12 Mar 2013 13:26:55 +0000</pubDate>
			<dc:creator>ha5438</dc:creator>
			<guid isPermaLink="false">1376@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;I assume the speed of sound is 1500 m/s, it's the velocity of soft tissue. Actually, I &#60;/p&#62;
&#60;p&#62;have programmed a tomography by using labview, and it's work for simple source like (a) &#60;/p&#62;
&#60;p&#62;pencil lead(s). But I don't know why it's not available by k-wave. Also I can't find the&#60;/p&#62;
&#60;p&#62;keywords &#34;autofocus&#34; in the help?! Which example has this function ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1375</link>
			<pubDate>Tue, 12 Mar 2013 11:45:39 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">1375@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;It sounds like the sound speed you are using in the reconstruction doesn't match the one in the experiment (or alternatively, the radius you have set is incorrect). Do you know the sound speed accurately? You could try using the autofocus routine if not (there is an example of how to do this in the toolbox).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ha5438 on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1374</link>
			<pubDate>Tue, 12 Mar 2013 10:12:27 +0000</pubDate>
			<dc:creator>ha5438</dc:creator>
			<guid isPermaLink="false">1374@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Sorry, I have solved this problem when I check the code. I think it will be available as  &#60;/p&#62;
&#60;p&#62;the x is greater  2 times than the sensor radius. Now, the program can run successfully. &#60;/p&#62;
&#60;p&#62;But...here comes another problem. Because I already get the sinogram(360*12000) from my &#60;/p&#62;
&#60;p&#62;photoacoustic experiment previously. So I replaced this data to &#34;sensor_data&#34; , set &#34;p0 &#60;/p&#62;
&#60;p&#62;=0&#34; and delete some syntax. Also, I have modified the  Cartesian circular sensor code &#60;/p&#62;
&#60;p&#62;just like my experiment setup. As follow:&#60;/p&#62;
&#60;p&#62;sensor_radius = 37.5e-3;      % [m]&#60;br /&#62;
sensor_angle = 2*pi;          % [rad]&#60;br /&#62;
sensor_pos = [0,0];           % [m]&#60;br /&#62;
num_sensor_points = 360;&#60;/p&#62;
&#60;p&#62;In the end the result of reconstructed image is not well, the image shows like a &#60;/p&#62;
&#60;p&#62;concentric circle(◎ &#38;lt;- like this, and it's red in the middle ). Could you give some &#60;/p&#62;
&#60;p&#62;advice?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ha5438 on "The relationship between kgrid and cartesian points"</title>
			<link>http://www.k-wave.org/forum/topic/the-relationship-between-kgrid-and-cartesian-points#post-1373</link>
			<pubDate>Tue, 12 Mar 2013 07:29:47 +0000</pubDate>
			<dc:creator>ha5438</dc:creator>
			<guid isPermaLink="false">1373@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi &#60;/p&#62;
&#60;p&#62;Thanks your hard work in k-wave tool. I have a problem about the kgrid. I think the &#60;/p&#62;
&#60;p&#62;kgrid size must be greater than the Cartesian circular sensor, isn't it? In my case, I &#60;/p&#62;
&#60;p&#62;assigning x and y = 50e-3, Nx and Ny = 100. Another hand, defining sensor_radius = 40e-3 &#60;/p&#62;
&#60;p&#62;,sensor_angle = 2*pi. But it doesn't work... The error message shows &#34;Cartesian points &#60;/p&#62;
&#60;p&#62;must lie within the k-space grid defined by kgrid.&#34; How can I debug this problem?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
