<?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: photoacoustic presumptions in simulation</title>
		<link>http://www.k-wave.org/forum/topic/photoacoustic-presumptions-in-simulation</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:52:33 +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/photoacoustic-presumptions-in-simulation" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "photoacoustic presumptions in simulation"</title>
			<link>http://www.k-wave.org/forum/topic/photoacoustic-presumptions-in-simulation#post-5527</link>
			<pubDate>Wed, 08 Jun 2016 21:08:38 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5527@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Moein0114,&#60;/p&#62;
&#60;p&#62;When using k-Wave, there are two frequencies to consider. The first is the maximum frequency supported by the spatial grid, given by f_max_x = c / (2*dx). The second is the maximum frequency supported by the temporal sampling, given by f_max_t = 1 / (2*dt). These are related by the CFL number, where CFL = c*dt/dx. The default value in k-Wave is CFL = 0.3. If you want to set a sampling rate of 40 MHz, you can do this by setting the appropriate dt (see the k-Wave manual for how to define the time array). However, you should keep in mind the effect that changing dt will have on the CFL number and/or the spatial sampling.&#60;/p&#62;
&#60;p&#62;The assumption made when using &#60;code&#62;source.p0&#60;/code&#62; is that the duration of the laser pulse is much shorter than the characteristic acoustic travel time across the heated region (this is known as stress confinement). You can read some more details &#60;a href=&#34;http://www.k-wave.org/papers/2005-Cox-JASA.pdf&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Moein0114 on "photoacoustic presumptions in simulation"</title>
			<link>http://www.k-wave.org/forum/topic/photoacoustic-presumptions-in-simulation#post-5521</link>
			<pubDate>Tue, 31 May 2016 05:13:38 +0000</pubDate>
			<dc:creator>Moein0114</dc:creator>
			<guid isPermaLink="false">5521@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear Cox and Treeby,&#60;br /&#62;
I am trying to set properties of my own simulation which is :&#60;br /&#62;
1-Eight 100 μm radius spherical absorbers were positioned along the vertical axis every 10 mm with the first two point targets located 1 mm away from the transducer surface. Two absorbers at each depth were laterally 1 mm away from the center of each absorber. Imaging region was 40 mm&#60;br /&#62;
laterally and 50 mm axially.&#60;br /&#62;
2- Point targets were visualized by modeled 128 element&#60;br /&#62;
linear array of transducers operating at 5 MHz center frequency&#60;br /&#62;
and having 77% fractional bandwidth.&#60;br /&#62;
3- speed of sound was assumed to be 1540.&#60;br /&#62;
4- radiofrequency signals were digitized using 40MHz sampling frequency. &#60;/p&#62;
&#60;p&#62;for these properties i wrote these codes :&#60;/p&#62;
&#60;p&#62;%% create the computational grid&#60;br /&#62;
Nx = 501;           % number of grid points in the x (row) direction&#60;br /&#62;
Ny = 400;           % number of grid points in the y (column) direction&#60;br /&#62;
dx = 0.1e-3;        % grid point spacing in the x direction  [m]&#60;br /&#62;
dy = 0.1e-3;        % grid point spacing in the y direction  [m]&#60;br /&#62;
kgrid = makeGrid(Nx, dx, Ny, dy);&#60;br /&#62;
%% define the properties of the propagation medium&#60;br /&#62;
medium.sound_speed = 1540;  % [m/s]&#60;br /&#62;
medium.alpha_coeff = 0.75;  % [dB/(MHz^y cm)]&#60;br /&#62;
medium.alpha_power = 1.5;&#60;/p&#62;
&#60;p&#62;%% create initial pressure distribution using makeDisc (phantom definition)&#60;br /&#62;
%1&#60;br /&#62;
disc_magnitude = 1e4; % [Pa]&#60;br /&#62;
disc_x_pos = 101;    % [grid points]&#60;br /&#62;
disc_y_pos = 206;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_1 = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%1c&#60;br /&#62;
disc_x_pos = 101;    % [grid points]&#60;br /&#62;
disc_y_pos = 194;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_1c = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%2&#60;br /&#62;
disc_x_pos = 201;    % [grid points]&#60;br /&#62;
disc_y_pos = 206;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_2 = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%2c&#60;br /&#62;
disc_x_pos = 201;    % [grid points]&#60;br /&#62;
disc_y_pos = 194;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_2c = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%3&#60;br /&#62;
disc_x_pos = 301;    % [grid points]&#60;br /&#62;
disc_y_pos = 206;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_3 = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%3c&#60;br /&#62;
disc_x_pos = 301;    % [grid points]&#60;br /&#62;
disc_y_pos = 194;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_3c = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%4&#60;br /&#62;
disc_x_pos = 401;    % [grid points]&#60;br /&#62;
disc_y_pos = 206;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_4 = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%4c&#60;br /&#62;
disc_x_pos = 401;    % [grid points]&#60;br /&#62;
disc_y_pos = 194;    % [grid points]&#60;br /&#62;
disc_radius = 1;    % [grid points]&#60;br /&#62;
disc_4c = disc_magnitude*makeDisc(Nx, Ny, disc_x_pos, disc_y_pos, disc_radius);&#60;br /&#62;
%sume of point absorber&#60;br /&#62;
source.p0 = (disc_4 + disc_3 + disc_2 + disc_1) + (disc_1c + disc_2c + disc_3c + disc_4c);&#60;/p&#62;
&#60;p&#62;%% define a  linear array sensor&#60;br /&#62;
sensor.mask = zeros(Nx, Ny);&#60;br /&#62;
nomber_of_transducer=128;&#60;br /&#62;
sensor.mask(1,(Ny/2)-(nomber_of_transducer/2)+1:(Ny/2)+(nomber_of_transducer/2)) = 1;&#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;
%% define the frequency response of the sensor elements&#60;br /&#62;
center_freq = 5e6;      % [Hz]&#60;br /&#62;
bandwidth = 77;         % [%]&#60;br /&#62;
sensor.frequency_response = [center_freq, bandwidth];&#60;br /&#62;
%% run the simulation&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor);&#60;br /&#62;
%%&#60;br /&#62;
% plot the initial pressure and sensor distribution&#60;br /&#62;
figure;&#60;br /&#62;
imagesc(kgrid.y_vec*1e3, kgrid.x_vec*1e3, source.p0 + sensor.mask*disc_magnitude, [-disc_magnitude disc_magnitude]);&#60;br /&#62;
colormap(getColorMap);&#60;br /&#62;
ylabel('x-position [mm]');&#60;br /&#62;
xlabel('y-position [mm]');&#60;br /&#62;
axis image;&#60;br /&#62;
colorbar;&#60;/p&#62;
&#60;p&#62;here are my questions :&#60;br /&#62;
1- I do not know how to set the 40MHz sampling frequency, because in this code sampling frequency -that is declared by kgrid is 5.1333e+07&#60;br /&#62;
2- we set initial pressure to propagate as source of acoustic waves, what is the idea and assumption about excitation laser source? i mean if someone ask me, how did the initial pressure emerged, what should i say ?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
