plot_insertion_losses#

TouchstoneData.plot_insertion_losses(threshold: float = -3, plot: bool = True)#

Plot all insertion losses.

The first frequency point is used to determine whether two ports are shorted.

Parameters:
thresholdfloat, int, optional

Threshold to determine shorted ports in dB. The default value is -3.

plotbool, optional

Whether to plot. The default is True.

Returns:
list

List of tuples representing insertion loss excitations.

Examples

>>> from ansys.aedt.core.visualization.advanced.touchstone_parser import TouchstoneData
>>> obj = TouchstoneData()
>>> obj.plot_insertion_losses(threshold=1.0, plot=True)