<?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: time-reversal reconstruction in 1D</title>
		<link>http://www.k-wave.org/forum/topic/time-reversal-reconstruction-in-1d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:39:45 +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/time-reversal-reconstruction-in-1d" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "time-reversal reconstruction in 1D"</title>
			<link>http://www.k-wave.org/forum/topic/time-reversal-reconstruction-in-1d#post-288</link>
			<pubDate>Sat, 04 Feb 2012 02:27:05 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">288@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Chao,&#60;/p&#62;
&#60;p&#62;Do you mean, why do you see the extra peaks on either side of the reconstructed initial pressure? These occur because the time reversal algorithm only correctly reconstructs the pressure distribution on the interior of the measurement surface. In 1D, this means in between your two measurement points. If you truncate your field of view based on the measurement positions, the reconstructed image should agree. &#60;/p&#62;
&#60;p&#62;If you leave plotting on and try setting:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;#39;DisplayMask&#38;#39;, cart2grid(kgrid, sensor.mask), &#38;#39;PlotFreq&#38;#39;, 1&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;you can visualise what's happening.&#60;/p&#62;
&#60;p&#62;Note, if you use a Cartesian sensor mask, you might also notice a small numerical discrepancy when doing your comparison. This is because linear interpolation is used to calculate the pressures in the forward case, while these are enforced at the nearest grid point in the reconstruction.&#60;/p&#62;
&#60;p&#62;We haven't played with 1D that much, so if you notice any strange behaviour, please let us know!&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>huangchao on "time-reversal reconstruction in 1D"</title>
			<link>http://www.k-wave.org/forum/topic/time-reversal-reconstruction-in-1d#post-287</link>
			<pubDate>Sat, 04 Feb 2012 00:54:05 +0000</pubDate>
			<dc:creator>huangchao</dc:creator>
			<guid isPermaLink="false">287@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, Dr. Cox and Dr. Treeby,&#60;/p&#62;
&#60;p&#62;I found that I cannot use time-reversal algorithm to exactly reconstruct images in 1D. The codes I used are as following:&#60;/p&#62;
&#60;p&#62;clear&#60;br /&#62;
Nx = 128;&#60;br /&#62;
dx = 0.05e-3;&#60;br /&#62;
kgrid = makeGrid(Nx, dx);&#60;/p&#62;
&#60;p&#62;medium.sound_speed = 1500*ones(Nx, 1);&#60;br /&#62;
medium.density = 1000*ones(Nx, 1);&#60;/p&#62;
&#60;p&#62;x_pos = 54;&#60;br /&#62;
width = 20;&#60;br /&#62;
height = 1;&#60;br /&#62;
in = 0:pi/(width/2):2*pi;&#60;br /&#62;
source.p0 = [zeros(x_pos,1); ((height/2)*sin(in-pi/2)+(height/2)).'; zeros(Nx - x_pos  - width - 1, 1)];&#60;/p&#62;
&#60;p&#62;sensor.mask = [-1e-3 1e-3];&#60;/p&#62;
&#60;p&#62;[kgrid.t_array, dt] = makeTime(kgrid, medium.sound_speed);&#60;/p&#62;
&#60;p&#62;pd = kspaceFirstOrder1D(kgrid, medium, source, sensor, 'PMLSize', 20, 'PlotSim', false, 'Smooth', false);&#60;/p&#62;
&#60;p&#62;source.p0 = 0;&#60;br /&#62;
sensor.time_reversal_boundary_data = pd;&#60;/p&#62;
&#60;p&#62;r = kspaceFirstOrder1D(kgrid, medium, source, sensor, 'PMLSize', 20, 'PlotSim', false, 'Smooth', false);&#60;/p&#62;
&#60;p&#62;Do you have idea why it's like this?&#60;/p&#62;
&#60;p&#62;Thank you very much!&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
Chao
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
