set_differential_pair#
- Hfss.set_differential_pair(assignment, reference, common_mode=None, differential_mode=None, common_reference=25, differential_reference=100, active=True, matched=False)#
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:
- assignment
str
Name of the terminal to use as the positive terminal.
- reference
str
Name of the terminal to use as the negative terminal.
- common_mode
str
,optional
Name for the common mode. The default is
None
, in which case a unique name is assigned.- differential_mode
str
,optional
Name for the differential mode. The default is
None
, in which case a unique name is assigned.- common_reference
float
,optional
Reference impedance for the common mode in ohms. The default is
25
.- differential_reference
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
.
- assignment
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.EditDiffPairs