convert_nearfield_data#

ansys.aedt.core.visualization.advanced.misc.convert_nearfield_data(dat_folder, frequency=6, invert_phase_for_lower_faces=True, output_folder=None)#

Convert a near field data folder to hfss nfd file and link it to and file.

Parameters:
dat_folderstr

Full path to the folder containing near fields data. Folder will contain 24 files in the following format: data_Ex_ymin.dat. Same for H Fields.

frequencyfloat, int, str

Frequency in GHz.

invert_phase_for_lower_facesbool

Add 180 deg for all fields at ‘negative’ faces (xmin, ymin, zmin).

output_folderstr, optional

Output folder where files will be saved.

Returns:
str

Full path to .and file.