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_filestr

Full path to the XML or TXT file.

output_dirstr

Full path to save the file to.

variationstr, optional

Label to identify corresponding variation.

model_infodict, optional
powerdict, 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_filestr, optional

Touchstone file name. The default is None.

Returns:
str

Metadata JSON file.