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_terminal
str
Name of the terminal to use as the positive terminal.
- negative_terminal
str
Name of the terminal to use as the negative terminal.
- common_name
str
,optional
Name for the common mode. Default is
None
in which case a unique name is chosen.- diff_name
str
,optional
Name for the differential mode. Default is
None
in which case a unique name is chosen.- common_ref_z
float
,optional
Reference impedance for the common mode. Units are Ohm. Default is
25
.- diff_ref_z
float
,optional
Reference impedance for the differential mode. Units are Ohm. Default is
100
.- activebool,
optional
Set the differential pair as active. Default is
True
.
- positive_terminal
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oDesign.SetDiffPairs