<?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: Problem for gpuArray types of datacast in time-reversal reconstruction</title>
		<link>http://www.k-wave.org/forum/topic/problem-for-gpuarray-types-of-datacast-in-time-reversal-reconstruction</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Thu, 14 May 2026 20:12:10 +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/problem-for-gpuarray-types-of-datacast-in-time-reversal-reconstruction" rel="self" type="application/rss+xml" />

		<item>
			<title>cws0104 on "Problem for gpuArray types of datacast in time-reversal reconstruction"</title>
			<link>http://www.k-wave.org/forum/topic/problem-for-gpuarray-types-of-datacast-in-time-reversal-reconstruction#post-8844</link>
			<pubDate>Thu, 22 Jun 2023 06:26:01 +0000</pubDate>
			<dc:creator>cws0104</dc:creator>
			<guid isPermaLink="false">8844@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello, all of the experts,&#60;/p&#62;
&#60;p&#62;I have finished the simulation using the gpuArray types of Datacast to accelerate the speed of the simulation.&#60;br /&#62;
I now struggle to perform the time-reversal reconstruction to fabricate an acoustic hologram.&#60;br /&#62;
However, the stimulated (or numerically acquired) values of sensor_data can not be directly inserted in the sensor.time_reversal_boundary_data since the casting data is gpuArray (4D).&#60;/p&#62;
&#60;p&#62;Here is the basic procedure to perform time-reversal reconstruction as everyone can find elsewhere in the codes relevant to the TR:&#60;br /&#62;
I first stated clearvars to remove the initial source pressure: source.p = 0;&#60;br /&#62;
And then the value of acquired sensor_data is directly inserted into the sensor.time_reversal_boundary_data: sensor.time_reversal_boundary_data = sensor_data;&#60;/p&#62;
&#60;p&#62;I wonder whether the measured value of sensor_data that is types of GPUarray can be directly inserted into the sensor.time_reversal_boudnary_data. If we can not, could you suggest the appropriate approaches to insert the values into the matrix? Thank you for your help in advance :).
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
