export_pyaedt_antenna_metadata#
- static FfdSolutionDataExporter.export_pyaedt_antenna_metadata(input_file, output_dir, variation=None, model_info=None, power=None, touchstone_file=None)[source]#
Obtain PyAEDT metadata JSON file from AEDT metadata XML file or embedded element pattern TXT file.
- Parameters:
- input_file
str
Full path to the XML or TXT file.
- output_dir
str
Full path to save the file to.
- variation
str
,optional
Label to identify corresponding variation.
- model_info
dict
,optional
- power
dict
,optional
Dictionary with information of the incident power for each frequency. The default is
None
, in which case an empty dictionary is applied. From AEDT 2024.1, this information is available from the XML input file. For example, the dictionary format for a two element farfield data = power[1000000000.0][“IncidentPower”] data = [1, 0.99]- touchstone_file
str
,optional
Touchstone file name. The default is
None
.
- input_file
- Returns:
str
Metadata JSON file.