the minimum value of S11 #3836
-
Hi, I asked how to read the minimum value of S11 using PyAEDT in this community before. At that time, I was told that I should refer to the folloing site: I knew how to plot S11 referring to this site. Can anyone tell me how to convert S11 data into numbers? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @crapemyrtle-841 , I will use the same project you shared here: #3817 The method get_solution_data returns an object, which contains all the needed information, and in addition, method to operate with the data in a very efficient way. Please check PyAEDT examples which can give you different ideas of the power of this method. But just to give you the solution of your question, please check the following code:
In the following code, once the project is solved, you can take any available trace, for example I am saving in a list called "traces" all the available S parameters (in this case there is only one because you have 1 port). Then I get the data of this single traces with the method get_solution_data. It returns an object, for more information, please go to the API Documentation: In this case, with a single line I took the data and I obtained the S11 dB20, you can compare it with AEDT results: ![]() From here is quite easy to find the minimum:
And you can even find the resonance frequency:
Finally, you can even perform a simple plot using matplotlib: I think you will agree this is a really powerful tool :) |
Beta Was this translation helpful? Give feedback.
Hi @crapemyrtle-841 ,
I will use the same project you shared here: #3817
The method get_solution_data returns an object, which contains all the needed information, and in addition, method to operate with the data in a very efficient way. Please check PyAEDT examples which can give you different ideas of the power of this method. But just to give you the solution of your question, please check the following code: