skrf.network.Network.se2gmm¶
- Network.se2gmm(p, z0_mm=None)[source]¶
Transform network from single ended parameters to generalized mixed mode parameters 1
Warning
This is not fully tested, and should be considered as experimental
- Parameters
p (int) – number of differential ports
z0_mm (Numpy array) – f x n x n matrix of mixed mode impedances, optional if input is None, 2 * z_o Ohms differential and z_0 / 2 Ohms common mode reference impedance is used
- Return type
None
Note Odd Number of Ports
In the case where there are an odd number of ports (such as a 3-port network with ports 0, 1, and 2), se2gmm() assumes that the last port (port 2) remains single-ended and ports 0 and 1 are converted to differential mode and common mode, respectively. For networks in which the port ordering is not suitable, port renumbering can be used.
Examples
For example, a 3-port single-ended network is converted to mixed-mode parameters:
| Port 0 (single-ended, 50 ohms) --> Port 0 (single-ended, 50 ohms) | Port 1 (single-ended, 50 ohms) --> Port 1 (differential mode, 100 ohms) | Port 2 (single-ended, 50 ohms) --> Port 2 (common mode, 25 ohms)
>>> ntwk.renumber([0,1,2], [2,1,0]) >>> ntwk.se2gmm(p=1) >>> ntwk.renumber([2,1,0], [0,1,2])
In the resulting network, port 0 is single-ended, port 1 is differential mode, and port 2 is common mode.
References
- 1
Ferrero and Pirola; Generalized Mixed-Mode S-Parameters; IEEE Transactions on Microwave Theory and Techniques; Vol. 54; No. 1; Jan 2006
See also