Postprocessing#

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

Note

Some capabilities of the AdvancedPostProcessing module require Python 3 and installations of the numpy, matplotlib, and pyvista packages.

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

Provides for creating and editing field plots.

solutions.FfdSolutionData

Contains information from the far field solution data.

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

# This call returns the PostProcessor class
post = app.post

# This call returns a FieldPlot object
plotf = post.create_fieldplot_volume(object_list, quantityname, setup_name, intrinsic_dict)

# This call returns a SolutionData object
my_data = post.get_solution_data(expressions=trace_names)

# This call returns a new standard report object and creates one or multiple reports from it.
standard_report = post.reports_by_category.standard("db(S(1,1))")
standard_report.create()
sols = standard_report.get_solution_data()
...

AEDT report management#

AEDT provides great flexibility in reports. PyAEDT has classes for manipulating any report property.

Note

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

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 app's standard reports.

report_templates.Fields

Provides for managing fields.

report_templates.NearField

Provides for managing near field reports.

report_templates.FarField

Provides for managing far field reports.

report_templates.EyeDiagram

Provides for managing eye diagram reports.

report_templates.Emission

Provides for managing emission reports.

report_templates.Spectral

Provides for managing spectral reports from transient data.

Plot fields and data outside AEDT#

PyAEDT supports external report capabilities available with installed third-party packages like numpy, pandas, matplotlib, and pyvista.

solutions.SolutionData

Contains information from the GetSolutionDataPerVariation() method.

solutions.FieldPlot

Provides for creating and editing field plots.

solutions.FfdSolutionData

Contains information from the far field solution data.

AdvancedPostProcessing.ModelPlotter

Manages the data to be plotted with pyvista.

Icepak monitors#

FaceMonitor

Provides Icepak face monitor properties and methods.

PointMonitor

Provides Icepak point monitor methods and properties.

Monitor

Provides Icepak monitor methods.