<?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: Can help identify the signal stream tailed for an Heterogeneous propagating medi</title>
		<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:40:24 +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/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi" rel="self" type="application/rss+xml" />

		<item>
			<title>bencox on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-384</link>
			<pubDate>Mon, 12 Mar 2012 15:53:41 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">384@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Eldhose,&#60;/p&#62;
&#60;p&#62;This looks correct. The 'tails' are just the reflections from where the impedance changes due to the change in sound speed.&#60;/p&#62;
&#60;p&#62;(There will be a slight tail even in the homogeneous case due to the fact that the example is in 2D and acoustic waves in 2D have tails - they never quite return to zero.)&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eldhochhan on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-383</link>
			<pubDate>Sun, 11 Mar 2012 15:03:05 +0000</pubDate>
			<dc:creator>eldhochhan</dc:creator>
			<guid isPermaLink="false">383@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;Thanks for the options given out to try. &#60;/p&#62;
&#60;p&#62;I have tried setting the PML layer outside the domain as you have advised together with a smaller input frequency of 7MHz since the filter cut off frequency is 7.4MHz. But its still looks the same. &#60;/p&#62;
&#60;p&#62;May be you can help me explain why these tailoring signals occur in the results of the example &#34;Heterogeneous Propagation Medium Example&#34; of Initial Value Problems inside the toolbox.&#60;/p&#62;
&#60;p&#62;I have pasted a link of the result after running the example exactly as it is in the toolbox.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://tinypic.com/r/122c00m/5&#34; rel=&#34;nofollow&#34;&#62;http://tinypic.com/r/122c00m/5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Eldhose
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-375</link>
			<pubDate>Thu, 08 Mar 2012 23:11:25 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">375@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Eldhose,&#60;/p&#62;
&#60;p&#62;A few points:&#60;/p&#62;
&#60;p&#62;1. Your 10 MHz input signal is almost completely removed by the call to &#60;code&#62;filterTimeSeries&#60;/code&#62;. If you look at the command line outputs you can see the maximum frequency supported by the grid is 11.1 MHz while the filter cutoff frequency is 7.4 MHz.&#60;/p&#62;
&#60;p&#62;2. For this type of simulation, you would most likely want to use the default PML settings unless you are trying to simulate a plane wave (see Ben's comments above).&#60;/p&#62;
&#60;p&#62;3. Part of your detector is within the PML. Either use a smaller detector, or set &#60;code&#62;&#38;#39;PMLInside&#38;#39;&#60;/code&#62; to &#60;code&#62;false&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;4. It seems most of the lower section of your computational domain is not used (homogeneous sound speed and no source or detector points). You could speed up your simulations by using a smaller domain. &#60;/p&#62;
&#60;p&#62;I hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eldhochhan on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-370</link>
			<pubDate>Thu, 08 Mar 2012 11:18:43 +0000</pubDate>
			<dc:creator>eldhochhan</dc:creator>
			<guid isPermaLink="false">370@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben&#60;/p&#62;
&#60;p&#62;The source code of the program is given below:&#60;/p&#62;
&#60;p&#62;clear all;&#60;br /&#62;
close all;&#60;br /&#62;
clc;&#60;/p&#62;
&#60;p&#62;% =========================================================================&#60;br /&#62;
% SIMULATION&#60;br /&#62;
% =========================================================================&#60;/p&#62;
&#60;p&#62;% create the computational grid&#60;br /&#62;
Nx = 600;            % number of grid points in the x (row) direction&#60;br /&#62;
Ny = 600;            % number of grid points in the y (column) direction&#60;br /&#62;
dx = 6.52e-5;        % grid point spacing in the x direction [m]&#60;br /&#62;
dy = 6.52e-5;        % grid point spacing in the y direction [m]&#60;br /&#62;
kgrid = makeGrid(Nx, dx, Ny, dy);&#60;/p&#62;
&#60;p&#62;% define the properties of the propagation medium (Mucosa and Submucosa)&#60;br /&#62;
medium.sound_speed = 1500*ones(Nx, Ny);    % [m/s]&#60;br /&#62;
medium.sound_speed(300:315,:) = 1500;      % [m/s]&#60;br /&#62;
medium.density = 1000*ones(Nx, Ny);        % [kg/m^3]&#60;br /&#62;
medium.density(300:315,:)    = 1200;       % [kg/m^3]&#60;br /&#62;
%medium.alpha_power = 1.5;&#60;br /&#62;
%medium.alpha_coeff = 1.8;      % [dB/(MHz^y cm)]&#60;/p&#62;
&#60;p&#62;% define the properties of the propagation medium (Muscle)&#60;br /&#62;
medium.sound_speed(316:329,:) = 1580;     % [m/s]&#60;br /&#62;
medium.density(316:329,:)    = 1000;      % [kg/m^3]&#60;/p&#62;
&#60;p&#62;% define the properties of the propagation medium (Fat)&#60;br /&#62;
medium.sound_speed(330:335,:) = 1450;     % [m/s]&#60;br /&#62;
medium.density(330:335,:)    = 910;       % [kg/m^3]&#60;/p&#62;
&#60;p&#62;% define the properties of the propagation medium (Water)&#60;br /&#62;
medium.sound_speed(336:end,:) = 1482;     % [m/s]&#60;br /&#62;
medium.density(336:end,:)    = 1000;      % [kg/m^3]   &#60;/p&#62;
&#60;p&#62;% create the time array&#60;br /&#62;
[kgrid.t_array, dt] = makeTime(kgrid, medium.sound_speed);&#60;br /&#62;
Nt = length(kgrid.t_array);&#60;/p&#62;
&#60;p&#62;% define a single source element&#60;br /&#62;
source.p_mask = zeros(Nx, Ny);&#60;br /&#62;
source.p_mask( Nx/2, Ny/2) = 1;&#60;/p&#62;
&#60;p&#62;% define a time varying sinusoidal source&#60;br /&#62;
source_freq = 10e6;   % [Hz]&#60;br /&#62;
source_mag = 15;      % [au]&#60;br /&#62;
source.p = source_mag*sin(2*pi*source_freq*kgrid.t_array);&#60;/p&#62;
&#60;p&#62;% smooth the source&#60;br /&#62;
source.p = filterTimeSeries(kgrid, medium, source.p);&#60;/p&#62;
&#60;p&#62;% define a centered circular sensor&#60;br /&#62;
sensor_x_pos = Nx/2;        % [grid points]&#60;br /&#62;
sensor_y_pos = Ny/2;        % [grid points]&#60;br /&#62;
sensor_radius = 290;   % [m]&#60;br /&#62;
sensor_arc_angle = pi;&#60;br /&#62;
sensor.mask = makeCircle(Nx, Ny, sensor_x_pos, sensor_y_pos, sensor_radius, sensor_arc_angle);&#60;/p&#62;
&#60;p&#62;% run the simulation&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, 'PlotLayout', true, 'PMLAlpha', [0 2]);&#60;/p&#62;
&#60;p&#62;% =========================================================================&#60;br /&#62;
% VISUALISATION&#60;br /&#62;
% =========================================================================&#60;/p&#62;
&#60;p&#62;% plot the simulated sensor data&#60;br /&#62;
figure;&#60;br /&#62;
imagesc(sensor_data, [-1, 1]);&#60;br /&#62;
colormap(getColorMap);&#60;br /&#62;
ylabel('Sensor Position');&#60;br /&#62;
xlabel('Time Step');&#60;br /&#62;
colorbar;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Eldhose
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-369</link>
			<pubDate>Thu, 08 Mar 2012 11:08:24 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">369@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Eldhose,&#60;/p&#62;
&#60;p&#62;Mmm. I'm afraid I can't tell what's going on without more details of the simulation you're running. Can you post your code and I'll run it and see if I spot anything obvious.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eldhochhan on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-366</link>
			<pubDate>Thu, 08 Mar 2012 04:14:24 +0000</pubDate>
			<dc:creator>eldhochhan</dc:creator>
			<guid isPermaLink="false">366@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben,&#60;/p&#62;
&#60;p&#62;I have tried to set the input parameter PMLAlpha [0,2] as per your previous comment. Now i am seeing a totally different effect as you have suspected.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://tinypic.com/r/210ivj4/5&#34; rel=&#34;nofollow&#34;&#62;http://tinypic.com/r/210ivj4/5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Eldhose
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-365</link>
			<pubDate>Wed, 07 Mar 2012 20:29:25 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">365@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Eldhose&#60;/p&#62;
&#60;p&#62;Try this line instead. &#60;/p&#62;
&#60;p&#62;sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, 'PlotLayout', true, 'PMLAlpha', [0 2]);&#60;/p&#62;
&#60;p&#62;I think you were just asking the program not to plot the absorbing boundary layer region, but you weren't actually turning it off. If you want to use a plane wave exactly aligned to the grid then by turning off the PML where it reaches the edges you can simulate a true (infinite) plane wave, as the spectral gradient calculations in the code will implicitly make the function periodic.&#60;/p&#62;
&#60;p&#62;Does this solve the problem, or was it another effect you were seeing?&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eldhochhan on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-364</link>
			<pubDate>Wed, 07 Mar 2012 13:49:57 +0000</pubDate>
			<dc:creator>eldhochhan</dc:creator>
			<guid isPermaLink="false">364@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben,&#60;/p&#62;
&#60;p&#62;sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, 'PlotLayout', true, 'PlotPML', false);&#60;/p&#62;
&#60;p&#62;This is how i have defined the sensor_data in the program. And i believe that the PML layer is turned off.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Eldhose
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bencox on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-362</link>
			<pubDate>Wed, 07 Mar 2012 11:08:22 +0000</pubDate>
			<dc:creator>bencox</dc:creator>
			<guid isPermaLink="false">362@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Eldhose,&#60;/p&#62;
&#60;p&#62;Is it a PML issue? Try turning off the PML on the two sides to see if it goes away.&#60;/p&#62;
&#60;p&#62;Ben
&#60;/p&#62;</description>
		</item>
		<item>
			<title>eldhochhan on "Can help identify the signal stream tailed for an Heterogeneous propagating medi"</title>
			<link>http://www.k-wave.org/forum/topic/can-help-identify-the-signal-stream-tailed-for-an-heterogeneous-propagating-medi#post-359</link>
			<pubDate>Wed, 07 Mar 2012 09:05:00 +0000</pubDate>
			<dc:creator>eldhochhan</dc:creator>
			<guid isPermaLink="false">359@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Ben and Bradely,&#60;/p&#62;
&#60;p&#62;I was trying to stimulate the example Heterogeneous Propagation medium with a few layers of different sound speed and density. And there is actually an extra stream of signal that follows the actual signal. I dont really get the reason for this. Could you please help me explain??&#60;/p&#62;
&#60;p&#62;The pic of the result is uploaded in this link:&#60;br /&#62;
&#60;a href=&#34;http://tinypic.com/r/o86r5s/5&#34; rel=&#34;nofollow&#34;&#62;http://tinypic.com/r/o86r5s/5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Eldhose
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
