MonostaticRCSExporter#

class ansys.aedt.core.visualization.post.rcs_exporter.MonostaticRCSExporter(app, setup_name, frequencies, expression=None, variations=None, overwrite=True)#

Class to enable export of radar cross-section (RCS) data from HFSS.

An instance of this class is returned from the pyaedt.Hfss.get_monostatic_rcs() method. This class creates a metadata_file that can be passed as argument to instantiate an instance of the pyaedt.generic.rcs_visualization.MonostaticRCSData class for subsequent analysis and postprocessing.

Note that this class is derived from the MonostaticRCSData class and can be used directly for RCS postprocessing, but it remains as a property of the pyaedt.Hfss application.

Parameters:
apppyaedt.Hfss

HFSS application instance.

setup_namestr

Name of the setup. Make sure to build a setup string in the form of "SetupName : SetupSweep".

frequencieslist

Frequency list to export. Specify either a list of strings with units or a list of floats in Hertz units. For example, ["9GHz", 9e9].

expressionstr, optional

Monostatic expression name. The default value is "ComplexMonostaticRCSTheta".

variationsdict, optional

Dictionary of all families including the primary sweep. The default value is None.

overwritebool, optional

Whether to overwrite the existing far field solution data. The default is True.

Examples

>>> import ansys.aedt.core
>>> app = ansys.aedt.core.Hfss(version="2023.2", design="Antenna")
>>> setup_name = "Setup1 : LastAdaptive"
>>> frequencies = [77e9]
>>> sphere = "3D"
>>> data = app.get_monostatic_rcs(frequencies,setup_name,sphere)
>>> data.plot_3d(quantity_format="dB10")

Methods

MonostaticRCSExporter.export_rcs([name, ...])

Export RCS solution data.

MonostaticRCSExporter.get_monostatic_rcs()

Get RCS solution data.

Attributes