export_antenna_metadata#
- Hfss.export_antenna_metadata(frequencies, setup, sphere, variations=None, output_dir=None, export_element_pattern=True, export_objects=False, export_touchstone=True, export_power=False)#
Export the element pattern.
For phased array cases, only one phased array is calculated.
- Parameters:
- frequencies
float
,list
Frequency value or list of frequencies to compute far field data.
- setup
str
Name of the setup to use.
- sphere
str
Infinite sphere to use.
- variations
dict
,optional
Variation dictionary. The default is
None
, in which case the nominal variation is exported.- output_dir
str
,optional
Path to export the element patterns to. The default is
None
, in which case the files are exported to the working_directory path.- export_element_patternbool,
optional
Whether to export the element patterns. The default is
True
.- export_objectsbool,
optional
Whether to export the objects. The default is
False
.- export_touchstonebool,
optional
Whether to export touchstone file. The default is
True
.- export_powerbool,
optional
Whether to export all available powers:
IncidentPower
,RadiatedPower
,AcceptedPower
. The default isFalse
.
- frequencies
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.ExportMetadata