<?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: Delays for recorded sensor_data in synthetic aperture ultrasound</title>
		<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 00:22:28 +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/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5213</link>
			<pubDate>Fri, 21 Aug 2015 12:05:55 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5213@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi sepand,&#60;/p&#62;
&#60;p&#62;I would suggest using an additive source unless you specifically want to enforce a boundary condition (for example, to perform time reversal using experimental data). Using an additive source in k-Wave corresponds to the normal way mass and force sources are defined in the wave equation.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sepand on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5189</link>
			<pubDate>Sat, 01 Aug 2015 07:07:30 +0000</pubDate>
			<dc:creator>sepand</dc:creator>
			<guid isPermaLink="false">5189@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad&#60;/p&#62;
&#60;p&#62;Thank you so much for your help. By reducing the grid spacing and the source frequency most of unknown fluctuations has been removed, But for removing all of them I have to change the boundary condition from dirichlet to additive(the default). Now it is a question for me that, is it true to use the additive boundary condition for ultrasound simulations? &#60;/p&#62;
&#60;p&#62;Thank you in advanced for your help&#60;br /&#62;
Sepand
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5174</link>
			<pubDate>Tue, 28 Jul 2015 12:32:44 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5174@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Sepand,&#60;/p&#62;
&#60;p&#62;Your source center frequency is very close to the maximum frequency supported by the grid. I would suggest reducing the grid spacing (dx/dy) or reducing the source frequency. For any simulation, it's always a good idea to run a convergence test by reducing dx and CFL and checking you get the same answer.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sepand on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5167</link>
			<pubDate>Thu, 23 Jul 2015 10:26:22 +0000</pubDate>
			<dc:creator>sepand</dc:creator>
			<guid isPermaLink="false">5167@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Brad&#60;br /&#62;
in addition to unknown fluctuations the mentioned echo signals are on an  ascending curve around zero axis(y=0). I mean that the echo signals should be zero for other parts of homogeneous medium and they should have amplitudes for phantom position. But my received echoes are not on zero axis(y=0).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sepand on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5166</link>
			<pubDate>Thu, 23 Jul 2015 09:02:06 +0000</pubDate>
			<dc:creator>sepand</dc:creator>
			<guid isPermaLink="false">5166@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad&#60;br /&#62;
 My codes are as following:&#60;/p&#62;
&#60;p&#62;clear all&#60;br /&#62;
close all&#60;br /&#62;
clc&#60;br /&#62;
data_cast = 'single';&#60;br /&#62;
run_simulation = true;&#60;br /&#62;
pml_x_size = 20;            % [grid points]&#60;br /&#62;
pml_y_size = 20;            % [grid points]&#60;/p&#62;
&#60;p&#62;% set total number of grid points not including the PML&#60;br /&#62;
sc = 1;&#60;br /&#62;
Nx = 256/sc - 2*pml_x_size;   % [grid points]&#60;br /&#62;
Ny = 256/sc - 2*pml_y_size;   % [grid points]&#60;/p&#62;
&#60;p&#62;% set desired grid size in the x-direction not including the PML&#60;br /&#62;
x = 50e-3;                  % [m]&#60;/p&#62;
&#60;p&#62;% calculate the spacing between the grid points&#60;br /&#62;
dx = x/Nx;                  % [m]&#60;br /&#62;
dy = dx;                    % [m]&#60;/p&#62;
&#60;p&#62;kgrid = makeGrid(Nx, dx, Ny, dy);&#60;/p&#62;
&#60;p&#62;% define the properties of the propagation medium&#60;/p&#62;
&#60;p&#62;medium.sound_speed= 1540;    % [m/s]&#60;br /&#62;
medium.density = 1000;     % [kg/m^3]&#60;br /&#62;
medium.alpha_coeff = 0.75; % [dB/(MHz^y cm)]&#60;br /&#62;
medium.alpha_power = 1.5;&#60;br /&#62;
medium.BonA = 6;&#60;/p&#62;
&#60;p&#62;% create time array&#60;/p&#62;
&#60;p&#62;t_end = (Nx*dx)*2.2/medium.sound_speed;     % [s]&#60;br /&#62;
[kgrid.t_array, dt]= makeTime(kgrid, medium.sound_speed, [], t_end);&#60;/p&#62;
&#60;p&#62;point_magnitude =100*randn(Nx,Ny);    % [Pa]&#60;br /&#62;
x_pos = 3*Nx/4; % [grid points]&#60;br /&#62;
y_pos = Ny/2; % [grid points]&#60;br /&#62;
radius = 1; % [grid points]&#60;br /&#62;
arc_angle = 2*pi; % [radians]&#60;/p&#62;
&#60;p&#62;Disc = point_magnitude.*makeDisc(Nx, Ny, x_pos, y_pos, radius, arc_angle);&#60;br /&#62;
imagesc(double(Disc));&#60;br /&#62;
%colormap(gray)&#60;br /&#62;
density_map = 1000*ones(Nx, Ny);&#60;br /&#62;
medium.density = density_map (:,:);&#60;br /&#62;
medium.density = medium.density + Disc;&#60;br /&#62;
imagesc(double(medium.density));&#60;br /&#62;
colormap(gray)&#60;/p&#62;
&#60;p&#62;sound_speed_map = 1540*ones(Nx, Ny);&#60;br /&#62;
medium.sound_speed = sound_speed_map (:,:);&#60;br /&#62;
%medium.sound_speed = medium.sound_speed + Disc;&#60;br /&#62;
imagesc(double(medium.sound_speed));&#60;br /&#62;
colormap(gray)&#60;/p&#62;
&#60;p&#62;number_elements=64;&#60;br /&#62;
element_width=1;&#60;br /&#62;
element_spacing=0;&#60;br /&#62;
transducer_width = number_elements*element_width ...&#60;br /&#62;
    + (number_elements - 1)*element_spacing;&#60;/p&#62;
&#60;p&#62;sensor.mask = zeros(Nx, Ny);&#60;br /&#62;
sensor.mask(1, Ny/2-(number_elements/2-1):Ny/2+number_elements/2) = 1;&#60;br /&#62;
%sensor.record_start_index=800;&#60;br /&#62;
imagesc(double(sensor.mask));&#60;/p&#62;
&#60;p&#62;sensor_element_width=1;&#60;/p&#62;
&#60;p&#62;%%================================================&#60;br /&#62;
%--synthetic aperture simulation------------------&#60;br /&#62;
%=================================================&#60;/p&#62;
&#60;p&#62;%matlabpool('open',4); % start of Parallel Computing&#60;br /&#62;
j=1;&#60;br /&#62;
for i=Ny/2-(number_elements/2-1):Ny/2+number_elements/2;&#60;br /&#62;
 j&#60;br /&#62;
 source.p_mask = zeros(Nx, Ny);&#60;br /&#62;
 source.p_mask(1, i) = 1;&#60;br /&#62;
 imagesc(source.p_mask);&#60;br /&#62;
 colormap(gray);&#60;/p&#62;
&#60;p&#62;tone_burst_cycles = 1;&#60;br /&#62;
tone_burst_freq=3e6; &#60;/p&#62;
&#60;p&#62;% % create the input signal using toneBurst&#60;br /&#62;
input_signal = toneBurst(1/dt, tone_burst_freq, tone_burst_cycles);%,'Plot', true);&#60;/p&#62;
&#60;p&#62;source_strength=1e6;&#60;br /&#62;
source.p =(source_strength./(1000*1540)).*input_signal;&#60;br /&#62;
source.p_mode='dirichlet';&#60;/p&#62;
&#60;p&#62;input_args = {...&#60;br /&#62;
    'PMLInside', false, 'PMLSize', [pml_x_size, pml_y_size], ...&#60;br /&#62;
    'DataCast', data_cast, 'DataRecast', true, 'PlotSim', false};&#60;/p&#62;
&#60;p&#62;sensor_data{j,1} = kspaceFirstOrder2D(kgrid, medium, source, sensor,input_args{:});&#60;/p&#62;
&#60;p&#62;j=j+1;&#60;br /&#62;
end&#60;/p&#62;
&#60;p&#62; thank you in advanced for your help&#60;br /&#62;
Sepand
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5159</link>
			<pubDate>Sun, 19 Jul 2015 13:06:44 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5159@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Sepand,&#60;/p&#62;
&#60;p&#62;Without seeing your code it's hard to say. Have you tried running a convergence test, i.e., reducing dx/dy and the CFL number and seeing if you get the same answer?&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sepand on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5144</link>
			<pubDate>Wed, 15 Jul 2015 09:12:37 +0000</pubDate>
			<dc:creator>sepand</dc:creator>
			<guid isPermaLink="false">5144@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad&#60;/p&#62;
&#60;p&#62;Thank you very much for your help. As you suggested I have eliminated the beginning of received signal and The echo signal could be seen in remained signal, but the big problem is some unknown oscillations in addition to echos. these oscillations have variable amplitudes and they sounds to have a constant frequency. I can not really understand the origin of them. Because,as you know, for a single scatterer in a homogeneous medium, we should have a echo signal similar to input signal with a specific time delay according to the distance from emitter. but I have gotten a long signal with unknown fluctuations. How can I get rid of these additional oscillations? &#60;/p&#62;
&#60;p&#62;In my 2D simulations the input signal is a 3MHz tune_burst with one cycle.&#60;/p&#62;
&#60;p&#62;thank you in advanced&#60;/p&#62;
&#60;p&#62;Sepand
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5124</link>
			<pubDate>Wed, 08 Jul 2015 11:46:48 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5124@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Sepand,&#60;/p&#62;
&#60;p&#62;In k-Wave, sources are implemented as the injection of force or mass into your medium. This means there is no physical interface at the transducer surface. Similarly, the sensor mask just tells the simulation where to sample the pressure field at each time step (so there is no physical sensor in the field). Consequently, what you are seeing in your simulations is the input signal propagating directly to the sensor positions. As you would expect, this arrives at the closest element first. To avoid this, you need to time-gate out the beginning of the received signal. This should allow you to see the reflections from the scatterer. Indeed, the same is true in a real ultrasound machine, as the elements cannot both transmit and receive at the same time.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sepand on "Delays for recorded sensor_data in synthetic aperture ultrasound"</title>
			<link>http://www.k-wave.org/forum/topic/delays-for-recorded-sensor_data-in-synthetic-aperture-ultrasound#post-5114</link>
			<pubDate>Tue, 30 Jun 2015 14:42:06 +0000</pubDate>
			<dc:creator>sepand</dc:creator>
			<guid isPermaLink="false">5114@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Dear all , Bencox and Bradley Treeby&#60;/p&#62;
&#60;p&#62;I am using source and sensor class in 2D for ultrasound synthetic aperture imaging. I have defined 32 grid points as transducer elements with no spacing between them. For each emission, just one of the source points is active but all 32 sensor elements receive the echoes. Source and sensor are at the same place and with same geometry. The scattering medium is a homogeneous medium with a point target at the middle of medium (a single pixel with a little bit more density than background). As I know from ultrasound, this point target should reflect the echo signals to the sensors (receiving elements).  But after plotting the sensor_data, the echo signals arranged for each transmission, so that, the nearest element to the emitter has the smallest delay. While, as you know, for synthetic aperture imaging (for a point target at the middle of medium) it should have the smallest delay for middle element for all transmissions regardless of location of emitter.  So, I think that, for each transmission, all sensor points just sense the transmitted signal not echo signals from point target. How can I get to the true echo signals from point target (PSF)?&#60;br /&#62;
Best regards&#60;br /&#62;
Sepand
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
