set_differential_pair#
- Hfss3dLayout.set_differential_pair(assignment: str, reference: str, common_mode: str | None = None, differential_mode: str | None = None, common_reference: float | None = 25, differential_reference: float | None = 100, active: bool | None = True, matched: bool | None = False) bool#
Add a differential pair definition.
- 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 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.
- assignment
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.SetDiffPairs