<?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: Frequency contents?</title>
		<link>http://www.k-wave.org/forum/topic/frequency-contents</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:35: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/frequency-contents" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Frequency contents?"</title>
			<link>http://www.k-wave.org/forum/topic/frequency-contents#post-385</link>
			<pubDate>Mon, 12 Mar 2012 16:34:23 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">385@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Seongjun,&#60;/p&#62;
&#60;p&#62;The shape of the initial pressure distribution will indeed determine which frequencies appear in the resulting ultrasonic pulse. It can be modelled accurately with k-Wave for frequencies below the cut-off. If making a comparison to measurements you need to be sure that your grid can support the maximum frequency you are measuring.&#60;/p&#62;
&#60;p&#62;If you try to model an initial pressure distribution with sharp edges you may see what look like oscillations in the output. This is related to the Gibbs phenomenon, explained below, and well worth being aware of when using spectral methods.&#60;/p&#62;
&#60;p&#62;With any numerical model it is necessary to replace the continuous initial pressure distribution that you are interested in with a discretized version; in other words, one defined only on the grid points. The numerical model will use some assumptions about what is going on in between the grid points: if it is a simple finite difference code then it might assume that the values at the grid points are linearly interpolated, for example. k-Wave is a spectral method, so it interpolates between the grid points using a Fourier series fitted to all the values across the whole grid. If there is a sharp step up from one grid point to the next, then the interpolated function will oscillate either side of that step (between the grid points) in order to achieve that rapid change. The oscillations occur because the model is necessarily constrained to use a finite number of Fourier components and a very large number are required to model a step function. (The Fourier transform of a step function decays very slowly in the Fourier domain.) It is this interpolated function (sometimes called the 'band limited interpolant') that is propagated across the grid. This makes it looks as though spurious oscillations have appeared, but really they were in the Fourier version of your initial pressure distribution all along. They are not due to an instability. If you want to remove this effect (as it is rather unsightly) smoothing the initial pressure distribution will do it.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.k-wave.org/forum/topic/compute-greens-function#post-342&#34;&#62;This post&#60;/a&#62; is relevant.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Seongjun Park on "Frequency contents?"</title>
			<link>http://www.k-wave.org/forum/topic/frequency-contents#post-381</link>
			<pubDate>Fri, 09 Mar 2012 22:28:49 +0000</pubDate>
			<dc:creator>Seongjun Park</dc:creator>
			<guid isPermaLink="false">381@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear menbers, &#60;/p&#62;
&#60;p&#62;Hello, I am just one of the beginners of this amazing tool box. &#60;/p&#62;
&#60;p&#62;But I have a question.&#60;br /&#62;
You mentioned that the maximum frequency is just determined by sound speed(c), grid size(e.g. kgrid.dx), and cfl level. (f_max=c/2*dt)&#60;br /&#62;
However, if the certain initial pressure distribution with sharp edges is used as a input(source.p0), this simulator can also give us reliable results? Or, is there any tip to deal with this sort of problem? &#60;/p&#62;
&#60;p&#62;(To my knowledge, the initial presssure distribution funtion(source.p0) can be considered as one of the factors which can determine the frequency contents in resulting ultrasound wave)&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
