Plotting far field gain vs. frequency HFSS #4927
-
Hi I am having a hard time getting a plot of my antenna far field gain vs. frequency. When i run the code a report is created, however it seems like the trace is never added. When i press modify report and click add, a trace appears. I cannot figure what i am doing wrong. Here is the code which i have found in examples online.
Command line output PyAEDT WARNING: Argument Hope anyone can give me some pointers as what i should do or where to get additional information. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems like i found a solution `solution = hfss.post.get_far_field_data(expressions='dB(GainTotal)', setup_sweep_name='Sweep', domain='Infinite Sphere1', sweeps=None) gain = solution.data_magnitude freq = solution.primary_sweep_values` |
Beta Was this translation helpful? Give feedback.
It seems like i found a solution
`solution = hfss.post.get_far_field_data(expressions='dB(GainTotal)', setup_sweep_name='Sweep', domain='Infinite Sphere1', sweeps=None)
gain = solution.data_magnitude
freq = solution.primary_sweep_values`