Postprocessing#

This section lists modules for creating and editing plots in the AEDT. They are accessible through the post property:

Note

The AdvancedPostProcessing module requires Python 3 and requires NumPy, Matplotlib, and PyVista.

Note

Some functionalities are available only when AEDT is running in graphical mode.

AdvancedPostProcessing.PostProcessor

Contains advanced postprocessing functionalities that require Python 3.x packages like NumPy and Matplotlib.

solutions.SolutionData

Contains information from the GetSolutionDataPerVariation() method.

solutions.FieldPlot

Creates and edits field plots.

solutions.FfdSolutionData

Class containing Hfss Far Field Solution Data (ffd).

AdvancedPostProcessing.ModelPlotter

Class that manage the plot data.

report_templates.Trace

Provides trace management.

report_templates.LimitLine

Line Limit Management Class.

report_templates.Standard

Provides a reporting class that fits most of the application's standard reports.

report_templates.Fields

General Fields Class.

report_templates.NearField

Near Field Report Class.

report_templates.FarField

FarField Report Class.

report_templates.EyeDiagram

Eye Diagram Report Class.

report_templates.Emission

Emission Report Class.

report_templates.Spectral

Spectral Report from Transient data.

from pyaedt import Hfss
app = Hfss(specified_version="2022.1",
             non_graphical=False, new_desktop_session=True,
             close_on_exit=True, student_version=False)

# this call return the PostProcessor Class
post = app.post

# this call return a FieldPlot Object
plotf = post.create_fieldplot_volume(object_list, quantityname, setup_name, intrinsic_dict)

# this call return a SolutionData Object
my_data = post.get_report_data(expression=trace_names)

# this call return a new Standard Report Object and creates one or multiple report from it.
standard_report = post.report_by_category.standard("db(S(1,1))")
standard_report.create()
sols = standard_report.get_solution_data()
...