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
Generate a field plot to an image file (JPG or PNG) using PyVista.
Generate a field plot to an animated gif file using PyVista.
Retrieve display types for a report categories.
Compute the list of all available report categories.
Compute the list of all available report quantities of a given report quantity category.
PostProcessor.change_field_plot_scale
(...[, ...])Change Field Plot Scale.
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.
Create a field plot of cut planes.
PostProcessor.create_fieldplot_line
(objlist, ...)Create a field plot of line.
Create a field plot of surfaces.
PostProcessor.create_fieldplot_volume
(...[, ...])Create a field plot of volumes.
Create a 2D rectangular plot in AEDT.
PostProcessor.create_report
([expressions, ...])Create a report in AEDT.
Create a new report based on json file or dictionary of properties.
Delete a field plot.
PostProcessor.delete_report
([plot_name])Delete all reports or specific report.
PostProcessor.export_field_file
(quantity_name)Use the field calculator to create a field file based on a solution and variation.
Use the field calculator to create a field file on a grid based on a solution and variation.
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.
Export a snapshot of the model to a JPG file.
Export the 2D Plot data to a CSV file.
PostProcessor.export_report_to_file
(...[, ...])Export the 2D Plot data to a file.
Export the SParameter plot to a JPG file.
Compute Etheta and EPhi.
Generate far field data using
GetSolutionDataPerVariation
.Initialize the Model Plotter object with actual modeler objects and return it.
PostProcessor.get_report_data
([expression, ...])Generate report data.
PostProcessor.get_scalar_field_value
(...[, ...])Use the field calculator to Compute Scalar of a Field.
Get SolutionData of a report in AEDT.
Retrieve solution data for each variation.
PostProcessor.nb_display
([show_axis, ...])Show the Jupyter Notebook display.
PostProcessor.plot_field
(quantity, object_list)Create a field plot using Python PyVista and export to an image file (JPG or PNG).
PostProcessor.plot_field_from_fieldplot
(plotname)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_list, ...[, ...])Plot the current model 3D scene with overlapping animation coming from a file list and save the gif.
PostProcessor.power_budget
([units, temperature])Power budget calculation.
PostProcessor.rename_report
(plot_name, new_name)Rename a plot.
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
List of all report names.
Report types.
Logger.
Model units.
Modeler.
Fields reporter.
Report setup.
Solution.
Design solution type.
Get/Set the boolean to automatically update reports on edits.