<?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: Velocity corrections for pressure sources?</title>
		<link>http://www.k-wave.org/forum/topic/velocity-corrections-for-pressure-sources</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:48:16 +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/velocity-corrections-for-pressure-sources" rel="self" type="application/rss+xml" />

		<item>
			<title>pcaday on "Velocity corrections for pressure sources?"</title>
			<link>http://www.k-wave.org/forum/topic/velocity-corrections-for-pressure-sources#post-5967</link>
			<pubDate>Mon, 29 May 2017 18:00:59 +0000</pubDate>
			<dc:creator>pcaday</dc:creator>
			<guid isPermaLink="false">5967@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben,&#60;br /&#62;
     Great, that's helpful to know. Thanks for your quick response!&#60;/p&#62;
&#60;p&#62;Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Velocity corrections for pressure sources?"</title>
			<link>http://www.k-wave.org/forum/topic/velocity-corrections-for-pressure-sources#post-5966</link>
			<pubDate>Mon, 29 May 2017 09:16:39 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">5966@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Peter,&#60;/p&#62;
&#60;p&#62;Yes, that's right. That's how k-Wave behaves. To simulate an instantaneous pressure source when specifying &#60;code&#62;source.p&#60;/code&#62;, it is necessary to use two non-zero points in time. In other words, compare using &#60;code&#62;source.p = [0.5 0.5]&#60;/code&#62; to using &#60;code&#62;source.p0&#60;/code&#62;.&#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>pcaday on "Velocity corrections for pressure sources?"</title>
			<link>http://www.k-wave.org/forum/topic/velocity-corrections-for-pressure-sources#post-5963</link>
			<pubDate>Fri, 26 May 2017 22:32:23 +0000</pubDate>
			<dc:creator>pcaday</dc:creator>
			<guid isPermaLink="false">5963@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
      First, thanks for all the great work on this toolbox, it's been immensely helpful! I had a question about the treatment of initial pressure vs. pressure sources.&#60;/p&#62;
&#60;p&#62;In kspaceFirstOrder2D, at least, when source.p0 is specified, the velocity at time step -1/2 is updated so that the (linearly interpolated) velocity at time step 0 is zero. However, an instantaneous source specified in source.p at time step i, say, won't update the velocity at time step i - 1/2.&#60;/p&#62;
&#60;p&#62;The effect, if I'm not mistaken, is that a zero initial pressure combined with an instantaneous pressure source in source.p (an approximate delta function in time multiplied by some spatial function g(x)), is not equivalent to specifying g(x) as an initial pressure. However, theoretically, they should be equivalent. Is this the intended behavior?&#60;/p&#62;
&#60;p&#62;I noticed this when trying to do a Born approximation. The approximation appeared to suffer from phase errors, and was much more accurate after modifying the algorithm to include an analogous correction term to the velocity for pressure sources. The downside is that the correction term adds three extra FFTs to each iteration.&#60;/p&#62;
&#60;p&#62;Thank you for your time!&#60;br /&#62;
    Peter
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
