<?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; User Favorites: ImmortalAvatar</title>
		<link><a href='http://www.k-wave.org/forum/profile/immortalavatar'>immortalavatar</a></link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 16:27:25 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-6729</link>
			<pubDate>Tue, 29 Jan 2019 22:01:16 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">6729@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi peiliu,&#60;/p&#62;
&#60;p&#62;There is a new function in k-Wave to easily create a focused detector called &#60;code&#62;makeBowl&#60;/code&#62;. This should do what you want.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>peiliu on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-6703</link>
			<pubDate>Tue, 08 Jan 2019 05:42:35 +0000</pubDate>
			<dc:creator>peiliu</dc:creator>
			<guid isPermaLink="false">6703@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;hello ranzakhuss,&#60;br /&#62;
Today I see the post you posted six years ago about &#34;focused detector&#34; ,now I have the same question like you.Did you figure it out? Can you help me to design a 3D PTF transducer with a radius of 12 mm and the focal length of 50mm?&#60;br /&#62;
Thank you in advance!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-336</link>
			<pubDate>Wed, 29 Feb 2012 05:12:19 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">336@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi ranzakhuss,&#60;/p&#62;
&#60;p&#62;Sorry for the delay. I will try and answer your questions in turn.&#60;/p&#62;
&#60;p&#62;1. If you open the k-Wave documentation (click on the blue question mark icon from the main MATLAB window and then select &#34;k-Wave Toolbox&#34; from the contents page), you can find detailed documentation for all of the k-Wave functions. If you select &#60;code&#62;makeSphere&#60;/code&#62; from the alphabetical list of functions, you can see what the different function inputs mean. You can also see this information from the command line by typing &#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;gt;&#38;gt; help makeSphere&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;In this case, the first three inputs are the x, y, z size of the grid in units of grid points (or voxels). Try experimenting with &#60;code&#62;makeSphere&#60;/code&#62; using the same radius but different values for the grid size to see exactly what this does. You can plot the results using &#60;code&#62;voxelPlot&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;2. In this particular example, the matrix that represents the transducer (assigned to the variable &#60;code&#62;sphere&#60;/code&#62;) is smaller than the overall grid size. The line you mention simply places the transducer into an empty sensor mask that has dimensions &#60;code&#62;Nx&#60;/code&#62; by &#60;code&#62;Ny&#60;/code&#62; by &#60;code&#62;Nz&#60;/code&#62; (it's a binary sensor mask in this case).&#60;/p&#62;
&#60;p&#62;3. You can achieve this by moving the position of the source (assigned to &#60;code&#62;source.mask&#60;/code&#62;) and running multiple simulations. Take a look at the &#60;a href=&#34;http://www.k-wave.org/documentation/example_sd_directivity_modelling_3D.php&#34;&#62;Modelling Sensor Directivity in 3D Example&#60;/a&#62;. If you mean dynamically moving the source within a single simulation, take a look at &#60;a href=&#34;http://www.k-wave.org/documentation/example_tvsp_doppler_effect.php&#34;&#62;The Doppler Effect Example&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;If you are going to be working with k-Wave a lot, it's probably a good idea to spend some time with the Initial Value Problem examples (even if this is not exactly what you want to simulate). These will introduce you to a lot of the general functionality of the toolbox.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ranzakhuss on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-326</link>
			<pubDate>Wed, 22 Feb 2012 22:44:59 +0000</pubDate>
			<dc:creator>ranzakhuss</dc:creator>
			<guid isPermaLink="false">326@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello Brad and Ben,&#60;/p&#62;
&#60;p&#62;1. In the example- focused detector in 3D. The sensor/detector is created by using MakeSphere function. I am not able to understand how the value for sphere_sz is given. In the previous posts, you had mentioned that the radius of the sphere will be the focal length of the transducer. so i used the value of focal length for the radius of the sphere. But i am not able to find the correct value for Sphere_sz. &#60;/p&#62;
&#60;p&#62;2. I am also not able to understand this line&#60;br /&#62;
sensor.mask(Nx/2:Nx/2+sphere_sz-1, Ny/2:Ny/2+sphere_sz-1, sphere_offset:sphere_offset+sphere_sz-1) = sphere; How exactly we create the sensor mask? &#60;/p&#62;
&#60;p&#62;3. Say i have a computational grid with number of grid points along the x,y and z be 100 and grid spacing is 1e-3. I have created the initial pressure distribution for the source using makeBall function and the radius of my source is 2mm. I would like to fix the position of my detector and see the output by moving the objects along different positions. meaning i can see the output only when the source is in focus with the detector. Is there a way to do this set-up?&#60;/p&#62;
&#60;p&#62;Kindly apologize for my inappropriate questions. I have been working hard on these simulations but getting struck with these simple stuffs..&#60;/p&#62;
&#60;p&#62;Regards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-316</link>
			<pubDate>Fri, 17 Feb 2012 06:13:12 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">316@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi ranzakhuss,&#60;/p&#62;
&#60;p&#62;The way to model your detector will depend on how it is physically constructed. If the face of your transducer is curved (and thus the focusing comes from the transducer geometry), you can model this by creating a geometrically accurate model of the transducer face. In the case of a spherically focused transducer, you can use &#60;a href=&#34;http://www.k-wave.org/documentation/makeSphere.php&#34;&#62;makeSphere&#60;/a&#62;. The sphere radius will be equal to your geometric focal length (to convert from meters to grid points, divide by the grid point spacing). After creating the sphere, mask out the parts you don't need (by setting them to zero) using the physical dimensions of your transducer, for example the height or width. &#60;/p&#62;
&#60;p&#62;If your focusing instead comes from a lens attached to the outer surface of the transducer, you can instead create a flat transducer and model the focusing by applying delays to the recorded signals before summing them. You can define the delays geometrically based on the calculated distance between the focal point and each point on your transducer (i.e., each point in your sensor mask). You can convert from distance to time based on the sound speed in the medium, and from time to time points by dividing by dt.&#60;/p&#62;
&#60;p&#62;I hope that helps. If you're still stuck, I'd recommend getting a good book on ultrasound, for example, &#34;Diagnostic Ultrasound Imaging: Inside Out&#34; by Thomas Szabo.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ranzakhuss on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-311</link>
			<pubDate>Wed, 15 Feb 2012 16:00:34 +0000</pubDate>
			<dc:creator>ranzakhuss</dc:creator>
			<guid isPermaLink="false">311@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello Bradley,&#60;/p&#62;
&#60;p&#62;I am confused with the explanation. I would be really helpful if you give me an example.&#60;br /&#62;
I had created the computational k-grid with Nx,Ny,Nz= 100 and dx,dy,dz=0.1e-3 (10*10*10).&#60;br /&#62;
My radius is 12mm and focal length is 38mm. Initially i used sphere = makeSphere(sphere_sz,sphere_sz,sphere_sz,sphere_radius) in order to make the sphere.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-309</link>
			<pubDate>Wed, 15 Feb 2012 06:37:17 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">309@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi ranzakhuss,&#60;/p&#62;
&#60;p&#62;If the detector is geometrically focused, you can create it using makeSphere. To make it a given size, convert between grid points and meters using the grid spacing (e.g., &#60;code&#62;kgrid.dx&#60;/code&#62;). After you've made the complete sphere, mask out the part you don't need following the example.&#60;/p&#62;
&#60;p&#62;It's possible to implement a wide range of different source conditions. Take a look at the other examples to see how this works.&#60;/p&#62;
&#60;p&#62;Good luck with your simulations,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ranzakhuss on "Focussed detector"</title>
			<link>http://www.k-wave.org/forum/topic/focussed-detector#post-307</link>
			<pubDate>Mon, 13 Feb 2012 21:34:56 +0000</pubDate>
			<dc:creator>ranzakhuss</dc:creator>
			<guid isPermaLink="false">307@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello all,&#60;/p&#62;
&#60;p&#62;I am trying to use the focused detector example in 3D simulations. The example describes the focused bowl detector. I would like to design a detector with a radius of 12 mm and the focal length of 38mm. Is there a way i could use to design a 3D detector with that specification?  &#60;/p&#62;
&#60;p&#62;In the same example, the source is a time varying sinusoidal one. What happens if i use a time independent source and is it possible to use one?&#60;/p&#62;
&#60;p&#62;Thanks a lot for the support and prompt responses.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
