<?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: Correct post processing for applying transducer bandwidth</title>
		<link>http://www.k-wave.org/forum/topic/correct-post-processing-for-applying-transducer-bandwidth</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:43:31 +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/correct-post-processing-for-applying-transducer-bandwidth" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Correct post processing for applying transducer bandwidth"</title>
			<link>http://www.k-wave.org/forum/topic/correct-post-processing-for-applying-transducer-bandwidth#post-4713</link>
			<pubDate>Thu, 11 Sep 2014 14:24:11 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4713@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Sebastion,&#60;/p&#62;
&#60;p&#62;The &#60;code&#62;gaussianFilter&#60;/code&#62; function applies a simple non-causal or zero-phase filter using the FFT. If you navigate to the &#34;Filtering A Delta Function Input Signal Example&#34; under the &#34;Numerical Analysis&#34; heading in the html help, then open the third m-file (under the &#34;Filtering the input time series&#34; title), and add the following code around line 65:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;case 4
    % filter the input signal
    freq = 10e6;
    bandwidth = 50;
    source_func_filtered = gaussianFilter(source_func, 1/dt, freq, bandwidth);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You can then compare the output of &#60;code&#62;gaussianFilter&#60;/code&#62; with other types of filtering, and hopefully get a handle on what's happening. In particular, you'll notice that when using &#60;code&#62;gaussianFilter&#60;/code&#62; or &#60;code&#62;applyFilter&#60;/code&#62;/&#60;code&#62;filterTimeSeries&#60;/code&#62; with the option &#60;code&#62;&#38;#39;ZeroPhase&#38;#39;, true&#60;/code&#62;, the main features of the signal will still be in roughly the same place, but there might be oscillations &#60;em&#62;ahead&#60;/em&#62; of time, i.e., the filter is not causal. &#60;/p&#62;
&#60;p&#62;If you compare this to &#60;code&#62;applyFilter&#60;/code&#62;/&#60;code&#62;filterTimeSeries&#60;/code&#62; with the option &#60;code&#62;&#38;#39;ZeroPhase&#38;#39;, false&#60;/code&#62;, you'll notice there is a translation of the main features of the signal to ensure nothing appears ahead of time, i.e., the causal nature of the filter causes phase distortion. &#60;/p&#62;
&#60;p&#62;As you've noticed, the exact nature of the filtered output will depend on the filter shape. The best filter to use depends largely on what you're trying to achieve.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bastlwastl on "Correct post processing for applying transducer bandwidth"</title>
			<link>http://www.k-wave.org/forum/topic/correct-post-processing-for-applying-transducer-bandwidth#post-4694</link>
			<pubDate>Mon, 01 Sep 2014 10:21:23 +0000</pubDate>
			<dc:creator>bastlwastl</dc:creator>
			<guid isPermaLink="false">4694@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm working on an ultrasonic simulation and i would like to compare the result to actual data from our experiments. The general impression seems to be correct, but in detail, the frequency bandwidth of the used transducer plays an important role.&#60;br /&#62;
As far as i know, the manual addresses this issue only quickly and in this forum, i found these 2 topics:&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/forum/topic/simple-3d-simulation-received-signal-question&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/forum/topic/simple-3d-simulation-received-signal-question&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.k-wave.org/forum/topic/sensor-specifications&#34; rel=&#34;nofollow&#34;&#62;http://www.k-wave.org/forum/topic/sensor-specifications&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The second suggest to use &#60;code&#62;gaussianfilter&#60;/code&#62; which is applying a frequency filtering (as far as i see). What seems to be correct compared to the spectra of the transducer provided by the manufacturer, results in clearly incorrect signals. Have a look here:&#60;br /&#62;
&#60;a href=&#34;http://homepages.physik.uni-muenchen.de/~Sebastian.Lehrack/gaussian_filter_spectra_3.5MHz.png&#34; rel=&#34;nofollow&#34;&#62;http://homepages.physik.uni-muenchen.de/~Sebastian.Lehrack/gaussian_filter_spectra_3.5MHz.png&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://homepages.physik.uni-muenchen.de/~Sebastian.Lehrack/compared_signals_filtered.png&#34; rel=&#34;nofollow&#34;&#62;http://homepages.physik.uni-muenchen.de/~Sebastian.Lehrack/compared_signals_filtered.png&#60;/a&#62;&#60;br /&#62;
The gaussian filter results in a signal which differs from the data we measured. It also produces a signal appearing before the actual signal. In a second step, we applied Matlab's standard butterworth low and high pass filter and the result agrees much better with the measured data but yet not perfectly. However, it seems to me that the &#60;code&#62;gaussianfilter&#60;/code&#62; is to simple and to strict regarding higher frequencies. And although it is not indicated, a transducer can have higher resonances, at least theoretically.&#60;/p&#62;
&#60;p&#62;Arising from this, what is the intended or recommended way to simulate the detector bandwidth?&#60;/p&#62;
&#60;p&#62;Greetings,&#60;br /&#62;
Sebastian
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
