PostProcessor#

class pyaedt.modules.AdvancedPostProcessing.PostProcessor(app)[source]#

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

Parameters:
app

Inherited parent object.

Examples

Basic usage demonstrated with an HFSS, Maxwell, or any other design:

>>> from pyaedt import Hfss
>>> aedtapp = Hfss()
>>> post = aedtapp.post

Methods

PostProcessor.animate_fields_from_aedtplt(...)

Generate a field plot to an image file (JPG or PNG) using PyVista.

PostProcessor.available_display_types([...])

Retrieve display types for a report categories.

PostProcessor.available_quantities_categories([...])

Compute the list of all available report categories.

PostProcessor.available_report_quantities([...])

Compute the list of all available report quantities of a given report quantity category.

PostProcessor.available_report_solutions([...])

Get the list of available solutions that can be used for the reports.

PostProcessor.change_field_plot_scale(...[, ...])

Change Field Plot Scale.

PostProcessor.change_field_property(...)

Modify a field plot property.

PostProcessor.copy_report_data(plot_name)

Copy report data as static data.

PostProcessor.create_3d_plot(solution_data)

Create a 3D plot using Matplotlib.

PostProcessor.create_creeping_plane_visual_ray_tracing([...])

Create a Creeping Wave Plane Wave Visual Ray Tracing and return the class object.

PostProcessor.create_creeping_point_visual_ray_tracing([...])

Create a Creeping Wave Point Source Visual Ray Tracing and return the class object.

PostProcessor.create_fieldplot_cutplane(...)

Create a field plot of cut planes.

PostProcessor.create_fieldplot_layers(...[, ...])

Create a field plot of stacked layer plot.

PostProcessor.create_fieldplot_layers_nets(...)

Create a field plot of stacked layer plot.

PostProcessor.create_fieldplot_line(...[, ...])

Create a field plot of the line.

PostProcessor.create_fieldplot_line_traces(...)

Create a field plot of the line.

PostProcessor.create_fieldplot_surface(...)

Create a field plot of surfaces.

PostProcessor.create_fieldplot_volume(...[, ...])

Create a field plot of volumes.

PostProcessor.create_report([expressions, ...])

Create a report in AEDT.

PostProcessor.create_report_from_configuration([...])

Create a report based on a JSON file, TOML file, or dictionary of properties.

PostProcessor.create_sbr_plane_visual_ray_tracing([...])

Create an SBR Plane Wave Visual Ray Tracing and return the class object.

PostProcessor.create_sbr_point_visual_ray_tracing([...])

Create an SBR Point Source Visual Ray Tracing and return the class object.

PostProcessor.delete_field_plot(name)

Delete a field plot.

PostProcessor.delete_report([plot_name])

Delete all reports or specific report.

PostProcessor.export_field_file(quantity[, ...])

Use the field calculator to create a field file based on a solution and variation.

PostProcessor.export_field_file_on_grid(quantity)

Use the field calculator to create a field file on a grid based on a solution and variation.

PostProcessor.export_field_jpg(file_name, ...)

Export a field plot and coordinate system to a JPG file.

PostProcessor.export_field_plot(plot_name, ...)

Export a field plot.

PostProcessor.export_mesh_obj([setup, ...])

Export the mesh in AEDTPLT format.

PostProcessor.export_model_obj([assignment, ...])

Export the model.

PostProcessor.export_model_picture([...])

Export a snapshot of the model to a JPG file.

PostProcessor.export_report_to_csv(...[, ...])

Export the 2D Plot data to a CSV file.

PostProcessor.export_report_to_file(...[, ...])

Export a 2D Plot data to a file.

PostProcessor.export_report_to_jpg(...[, ...])

Export the SParameter plot to a JPG file.

PostProcessor.get_efields_data([...])

Compute Etheta and EPhi.

PostProcessor.get_far_field_data([...])

Generate far field data using the GetSolutionDataPerVariation() method.

PostProcessor.get_model_plotter_geometries([...])

Initialize the Model Plotter object with actual modeler objects and return it.

PostProcessor.get_scalar_field_value(quantity)

Use the field calculator to Compute Scalar of a Field.

PostProcessor.get_solution_data([...])

Get a simulation result from a solved setup and cast it in a SolutionData object.

PostProcessor.get_solution_data_per_variation([...])

Retrieve solution data for each variation.

PostProcessor.nb_display([show_axis, ...])

Show the Jupyter Notebook display.

PostProcessor.plot_animated_field(quantity, ...)

Create an animated field plot using Python PyVista and export to a gif file.

PostProcessor.plot_field(quantity, assignment)

Create a field plot using Python PyVista and export to an image file (JPG or PNG).

PostProcessor.plot_field_from_fieldplot(...)

Export a field plot to an image file (JPG or PNG) using Python PyVista.

PostProcessor.plot_model_obj([objects, ...])

Plot the model or a substet of objects.

PostProcessor.plot_scene(frames, gif_path[, ...])

Plot the current model 3D scene with overlapping animation coming from a file list and save the gif.

PostProcessor.power_budget([units, ...])

Power budget calculation.

PostProcessor.rename_report(plot_name, new_name)

Rename a plot.

PostProcessor.steal_focus_oneditor()

Remove the selection of an object that would prevent the image from exporting correctly.

PostProcessor.volumetric_loss(assignment)

Use the field calculator to create a variable for volumetric losses.

Attributes

PostProcessor.all_report_names

List of all report names.

PostProcessor.available_report_types

Report types.

PostProcessor.logger

Logger.

PostProcessor.model_units

Model units.

PostProcessor.modeler

Modeler.

PostProcessor.ofieldsreporter

Fields reporter.

PostProcessor.oreportsetup

Report setup.

PostProcessor.post_osolution

Solution.

PostProcessor.post_solution_type

Design solution type.

PostProcessor.update_report_dynamically

Get/Set the boolean to automatically update reports on edits.