set_differential_pair#

Circuit.set_differential_pair(positive_terminal, negative_terminal, common_name=None, diff_name=None, common_ref_z=25, diff_ref_z=100, active=True)[source]#

Add a differential pair definition.

Parameters:
positive_terminalstr

Name of the terminal to use as the positive terminal.

negative_terminalstr

Name of the terminal to use as the negative terminal.

common_namestr, optional

Name for the common mode. Default is None in which case a unique name is chosen.

diff_namestr, optional

Name for the differential mode. Default is None in which case a unique name is chosen.

common_ref_zfloat, optional

Reference impedance for the common mode. Units are Ohm. Default is 25.

diff_ref_zfloat, optional

Reference impedance for the differential mode. Units are Ohm. Default is 100.

activebool, optional

Set the differential pair as active. Default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oDesign.SetDiffPairs