<?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: modify the mask attribute of an object transducer that was created first</title>
		<link>http://www.k-wave.org/forum/topic/modify-the-mask-attribute-of-an-object-transducer-that-was-created-first</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 03:13:22 +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/modify-the-mask-attribute-of-an-object-transducer-that-was-created-first" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "modify the mask attribute of an object transducer that was created first"</title>
			<link>http://www.k-wave.org/forum/topic/modify-the-mask-attribute-of-an-object-transducer-that-was-created-first#post-4857</link>
			<pubDate>Tue, 25 Nov 2014 18:32:29 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">4857@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Gg,&#60;/p&#62;
&#60;p&#62;It is not possible to modify the mask property of the k-Wave transducer class (by design). The mask is automatically calculated based on the properties of the physical transducer elements, e.g., the number of elements and their width, length, spacing, etc. If you wish to change the properties of the transducer, you must define a new object of the &#60;code&#62;kWaveTransducer&#60;/code&#62; class. &#60;/p&#62;
&#60;p&#62;If you want to define a completely arbitrary source mask, instead of using the transducer, you can directly use pressure and velocity sources as described in the &#60;a href=&#34;http://www.k-wave.org/documentation/k-wave_time_varying_source_problems.php&#34;&#62;Time Varying Source Problems&#60;/a&#62; examples.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gigi on "modify the mask attribute of an object transducer that was created first"</title>
			<link>http://www.k-wave.org/forum/topic/modify-the-mask-attribute-of-an-object-transducer-that-was-created-first#post-4854</link>
			<pubDate>Sat, 22 Nov 2014 19:14:22 +0000</pubDate>
			<dc:creator>gigi</dc:creator>
			<guid isPermaLink="false">4854@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;was wrote &#60;code&#62;no set&#60;/code&#62; method is defined for Dependent property mask, &#60;/p&#62;
&#60;p&#62;I' sorry I did read &#60;code&#62;a set method is defined for Dependent property mask&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;:(&#60;/p&#62;
&#60;p&#62;Anyway, thank to anybody that know how to set additional properties and methods for objects of the kWaveTransducer.&#60;/p&#62;
&#60;p&#62;Gg
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gigi on "modify the mask attribute of an object transducer that was created first"</title>
			<link>http://www.k-wave.org/forum/topic/modify-the-mask-attribute-of-an-object-transducer-that-was-created-first#post-4852</link>
			<pubDate>Sat, 22 Nov 2014 17:36:28 +0000</pubDate>
			<dc:creator>gigi</dc:creator>
			<guid isPermaLink="false">4852@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Dear all, &#60;/p&#62;
&#60;p&#62;I tempting to modify the mask attribute of a transducer object that was created&#60;br /&#62;
before.&#60;/p&#62;
&#60;p&#62;I tempted this:&#60;br /&#62;
&#60;code&#62;transducer1.mask = zeros(Nx, Ny, Nz);&#60;/code&#62;&#60;br /&#62;
but:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;In class &#38;#39;kWaveTransducer&#38;#39;, no set method is defined for Dependent property &#38;#39;mask&#38;#39;.  A Dependent property needs a set method to
assign its value.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;As second step I tempted to understand ho works set and get attribute:&#60;br /&#62;
&#60;code&#62;transducer.get.mask(transducer)&#60;/code&#62;&#60;br /&#62;
but:&#60;br /&#62;
&#60;code&#62;No appropriate method, property, or field get for class kWaveTransducer.&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Can somebody to explain me how modify the mask attribute of a transducer object?&#60;/p&#62;
&#60;p&#62;Thank so much&#60;br /&#62;
Gg
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
