check_touchstone_files#

ansys.aedt.core.generic.touchstone_parser.check_touchstone_files(input_dir='', passivity=True, causality=True)[source]#

Check passivity and causality for all Touchstone files included in the folder.

Parameters:
input_dirstr

Folder path. The default is "".

passivitybool, optional

Whether the passivity check is enabled, The default is True.

causalitybool, optional

Whether the causality check is enabled. The default is True.

Returns:
dict

Dictionary with the SNP file name as the key and a list if the passivity and/or causality checks are enabled. The first element in the list is a str with "passivity" or "causality" as a value. The second element is a Boolean that is set to True when the criteria passed or False otherwise. The last element is a string with the log information.