<?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: Creating Circular Source</title>
		<link>http://www.k-wave.org/forum/topic/creating-circular-source</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:21:56 +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/creating-circular-source" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Creating Circular Source"</title>
			<link>http://www.k-wave.org/forum/topic/creating-circular-source#post-4894</link>
			<pubDate>Fri, 12 Dec 2014 12:29:48 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4894@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi gondolio,&#60;/p&#62;
&#60;p&#62;The input signal is defined by assigning the time series input/s to &#60;code&#62;source.p&#60;/code&#62;. This can be a single time series (in which case it is applied to all the grid points that form part of the source), or a matrix of time series following the source elements using MATLAB's standard column-wise linear matrix index ordering. If you don't want to use the &#60;code&#62;focus&#60;/code&#62; function, then just assign &#60;code&#62;input_signal&#60;/code&#62; directly to &#60;code&#62;source.p&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gondolio on "Creating Circular Source"</title>
			<link>http://www.k-wave.org/forum/topic/creating-circular-source#post-4882</link>
			<pubDate>Tue, 09 Dec 2014 23:34:48 +0000</pubDate>
			<dc:creator>gondolio</dc:creator>
			<guid isPermaLink="false">4882@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello Bradley,&#60;/p&#62;
&#60;p&#62;I am trying to model a circular transducer without the makeTransducer() function and I'm unsure how to do that without using the focus() function as shown in examples. Do you have any suggestions? Here is what I have so far:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;source_strength = 0.076e6;          % [Pa]
tone_burst_freq = 1.5e6;    	% [Hz]
tone_burst_cycles = 60;

source_radius = 15;  % [grid points]
source_shape  = makeDisc(Ny, Nz, Ny/2, Nz/2, source_radius);

source_z_pos = 1;  % [grid points]
source.p_mask = zeros(Nx, Ny, Nz);
source.p_mask(source_z_pos,:,:) = source_shape;

input_signal = toneBurst(1/kgrid.dt, tone_burst_freq,
tone_burst_cycles,&#38;#39;Plot&#38;#39;,true,&#38;#39;Envelope&#38;#39;,&#38;#39;Rectangular&#38;#39;,
&#38;#39;SignalLength&#38;#39;,(1/kgrid.dt)*200e-6);

input_signal = (source_strength./(medium.sound_speed*medium.density)).*input_signal;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So what do I do with the input_signal from here. I believe I need to use it in a function to obtain source.p? I don't want the beam pattern to be focused. Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
