<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Xtracting S11 data via python]]></title><description><![CDATA[<p dir="auto">Hi everybody,</p>
<p dir="auto">I am trying to extract S11 data of an EdgeSource sensor from a broadband simulation via python, however I found only the way how to extract frequency data.<br />
How can I access the S11 data as well? Part of my code is</p>
<p dir="auto">simEM_results = sim.Results()<br />
S11_axis = simEM_results["EdgeSource  (Dipole)"]["Reflection Coefficient(f)"].Data.Axis</p>
<p dir="auto">S11_data = ???</p>
<p dir="auto">Basically I am looking for equivalent to SEMCAD X 14.8.6 XNumPy.AsArray() function.</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Spuky</p>
]]></description><link>https://forum.zmt.swiss/topic/98/xtracting-s11-data-via-python</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 13:48:14 GMT</lastBuildDate><atom:link href="https://forum.zmt.swiss/topic/98.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Nov 2018 20:30:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Xtracting S11 data via python on Wed, 28 Nov 2018 09:31:02 GMT]]></title><description><![CDATA[<p dir="auto">Note: I would even recommend to raise an exception if the pipeline fails to update, before continuing with the data processing. This makes the scripts easier to maintain in the long run:</p>
<pre><code>S11 = simEM_results["EdgeSource (Dipole)"]["Reflection Coefficient(f)"]
assert S11.Update(), 'Failed to update pipeline'
S11_data = S11.Data.GetComponent(0)
</code></pre>
]]></description><link>https://forum.zmt.swiss/post/234</link><guid isPermaLink="true">https://forum.zmt.swiss/post/234</guid><dc:creator><![CDATA[Sylvain]]></dc:creator><pubDate>Wed, 28 Nov 2018 09:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to Xtracting S11 data via python on Wed, 28 Nov 2018 09:27:11 GMT]]></title><description><![CDATA[<p dir="auto">my mistake... that's because Update() is returning a Boolean. This is what I meant:</p>
<pre><code>S11 = simEM_results["EdgeSource (Dipole)"]["Reflection Coefficient(f)"]
S11.Update()
</code></pre>
]]></description><link>https://forum.zmt.swiss/post/233</link><guid isPermaLink="true">https://forum.zmt.swiss/post/233</guid><dc:creator><![CDATA[Sylvain]]></dc:creator><pubDate>Wed, 28 Nov 2018 09:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to Xtracting S11 data via python on Wed, 28 Nov 2018 09:24:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello Sylvain,</p>
<p dir="auto">Thank you for your quick answer however when I do</p>
<p dir="auto">S11 = simEM_results["EdgeSource (Dipole)"]["Reflection Coefficient(f)"].Update()</p>
<p dir="auto">The S11 is True (Boolean) and it does not contain any Data.</p>
<p dir="auto">Regards,</p>
<p dir="auto">Spuky</p>
]]></description><link>https://forum.zmt.swiss/post/232</link><guid isPermaLink="true">https://forum.zmt.swiss/post/232</guid><dc:creator><![CDATA[Spuky]]></dc:creator><pubDate>Wed, 28 Nov 2018 09:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to Xtracting S11 data via python on Wed, 28 Nov 2018 07:24:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/spuky" aria-label="Profile: spuky">@<bdi>spuky</bdi></a> basically, you need to:</p>
<ol>
<li>load the data object (i.e. read data from disk and push it through the postprocessing pipeline)</li>
</ol>
<pre><code>S11 = simEM_results["EdgeSource (Dipole)"]["Reflection Coefficient(f)"].Update()
</code></pre>
<ol start="2">
<li>get the data you need from the data object</li>
</ol>
<pre><code>S11_axis = S11.Data.Axis
S11_data = S11.Data.GetComponent(0)
</code></pre>
<p dir="auto">Note that, once you have executed step 1, you can easily explore what the data object contains by using auto-completion in the Console environement: just type "S11" followed by a dot (.) in the Console and you can navigate its data structure.</p>
]]></description><link>https://forum.zmt.swiss/post/230</link><guid isPermaLink="true">https://forum.zmt.swiss/post/230</guid><dc:creator><![CDATA[Sylvain]]></dc:creator><pubDate>Wed, 28 Nov 2018 07:24:28 GMT</pubDate></item></channel></rss>