near_field#
- Reports.near_field(expressions=None, setup=None)#
Create a Field Report object.
- Parameters:
- expressions
strorlist Expression List to add into the report. The expression can be any of the available formula you can enter into the Electronics Desktop Report Editor.
- setup
str,optional Name of the setup. The default is
None, in which case thenominal_adaptivesetup is used. Be sure to build a setup string in the form of"SetupName : SetupSweep", whereSetupSweepis the sweep name to use in the export orLastAdaptive.
- expressions
- Returns:
ansys.aedt.core.modules.report_templates.NearField
Examples
>>> from ansys.aedt.core import Hfss >>> hfss = Hfss(my_project) >>> report = hfss.post.reports_by_category.near_field("GainTotal", "Setup : LastAdaptive", "NF_1") >>> report.primary_sweep = "Phi" >>> report.create() >>> solutions = report.get_solution_data()