pyaedt.modules.AdvancedPostProcessing.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.animate_fields_from_aedtplt_2(…)

Generate a field plot to an animated gif file using PyVista.

PostProcessor.change_field_plot_scale(…[, …])

Change Field Plot Scale.

PostProcessor.change_field_property(…)

Modify a field plot property.

PostProcessor.copy_report_data(PlotName)

Copy report data as static data.

PostProcessor.create_3d_plot(solution_data)

Create a 3D plot using Matplotlib.

PostProcessor.create_fieldplot_cutplane(…)

Create a field plot of cut planes.

PostProcessor.create_fieldplot_surface(…)

Create a field plot of surfaces.

PostProcessor.create_fieldplot_volume(…[, …])

Create a field plot of volumes.

PostProcessor.create_rectangular_plot([…])

Create a 2D rectangular plot in AEDT.

PostProcessor.delete_field_plot(name)

Delete a field plot.

PostProcessor.delete_report(PlotName)

Delete a field plot report.

PostProcessor.display_types(report_type)

Retrieve display types for a report type.

PostProcessor.export_field_file(quantity_name)

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

PostProcessor.export_field_file_on_grid(…)

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

PostProcessor.export_field_image_with_view(…)

Export a field plot image with a view.

PostProcessor.export_field_jpg(fileName, …)

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

PostProcessor.export_field_plot(plotname, …)

Export a field plot.

PostProcessor.export_mesh_obj([setup_name, …])

Export the mesh.

PostProcessor.export_model_obj([obj_list, …])

Export the model.

PostProcessor.export_model_picture([dir, …])

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 the 2D Plot data to a file.

PostProcessor.export_report_to_jpg(…)

Export the SParameter plot to a JPG file.

PostProcessor.far_field_plot(ff_data[, x, …])

Generate a far field plot.

PostProcessor.ff_sum_with_delta_phase(ff_data)

Generate a far field sum with a delta phase.

PostProcessor.get_efields_data([…])

Compute Etheta and EPhi.

PostProcessor.get_far_field_data([…])

Generate far field data using GetSolutionDataPerVariation.

PostProcessor.get_report_data([expression, …])

Generate report data.

PostProcessor.get_scalar_field_value(…[, …])

Use the field calculator to Compute Scalar of a Field.

PostProcessor.get_solution_data_per_variation([…])

Retrieve solution data for each variation.

PostProcessor.nb_display([show_axis, …])

Show the Jupyter Notebook display.

PostProcessor.plot_field_from_fieldplot(plotname)

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

PostProcessor.plot_model_obj([objects, …])

Plot the model or a substet of objects.

PostProcessor.rename_report(PlotName, newname)

Rename a plot.

PostProcessor.steal_focus_oneditor()

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

PostProcessor.volumetric_loss(object_name)

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

Attributes

PostProcessor.all_report_names

List of all report names.

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.report_types

Report types.