set_differential_pair#
- Hfss.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.
Differential pairs can be defined only in Terminal and Transient solution types. The differential pair is created from an existing port definition having at least two terminals.
- 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 the differential pair is active. The default is
True
.- matchedbool,
optional
Whether the differential pair is matched. The default is
False
.
- positive_terminal
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.EditDiffPairs