set_differential_pair#
- Hfss3dLayout.set_differential_pair(positive_terminal, negative_terminal, common_name=None, diff_name=None, common_ref_z=25, diff_ref_z=100, active=True, matched=False)[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. The default is
None
, in which case a unique name is assigned.- diff_name
str
,optional
Name for the differential mode. The default is
None
, in which case a unique name is assigned.- common_ref_z
float
,optional
Reference impedance for the common mode in ohms. The default is
25
.- diff_ref_z
float
,optional
Reference impedance for the differential mode in ohms. The default is
100
.- activebool,
optional
Whether to set the differential pair as active. The default is
True
.- matchedbool,
optional
Whether to set the differential pair as active. The default is
False
.
- positive_terminal
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.SetDiffPairs