skrf.circuit.Circuit¶
- class skrf.circuit.Circuit(connections)[source]¶
Creates a circuit made of a set of N-ports networks.
For instructions on how to create Circuit see
__init__()
.A Circuit object is representation a circuit assembly of an arbitrary number of N-ports networks connected together via an arbitrary topology.
The algorithm used to calculate the resultant network can be found in [1].
References
- Parameters:
connections (List[List[Tuple]]) –
Attributes
Return the global scattering matrix of the networks. |
|
Generate the graph of the circuit. |
|
Return the concatenated intersection matrix [X] of the circuit. |
|
Return the full list of connections, including intersections. |
|
Return the number of intersections in the circuit. |
|
List the connections by pair. |
|
Return the dimension of the C, X and global S matrices. |
|
Return a dictionary describing the port and z0 of all graph edges. |
|
Return the list of all circuit connections |
|
Return a dictionary of all intersections with associated ports and z0: |
|
Return the Network associated to external ports. |
|
Return the number of connected networks (port excluded). |
|
Return the number of nodes in the circuit. |
|
Return the indexes of the "external" ports. |
|
Return the external port impedances. |
|
Return the global scattering parameters of the circuit. |
|
Return the scattering parameters for the external ports. |
|
Characteristic impedances of "internal" ports. |
Methods
Return a 2-port network of a grounded link. |
|
Return a 2-port network of an open link. |
|
Return a 1-port Network to be used as a Circuit port. |
|
Return a 2-port network of a series impedance. |
|
Return a 2-port network of a shunt admittance. |
|
Circuit constructor. |
|
Currents at internal ports. |
|
Currents at external ports. |
|
Generate the graph of the circuit. |
|
Check if the circuit's graph is connected. |
|
Return the dictionary of Networks from the connection setup X. |
|
Return a list of unique networks (sorted by appearing order in connections). |
|
Plot the graph of the circuit using networkx drawing capabilities. |
|
Return "active" s-parameters of the circuit's network for a defined wave excitation a. |
|
Voltages at internal ports. |
|
Voltages at external ports |
|
Return the "active" VSWR of the circuit's network for a defined wave excitation a. |
|
Return the "active" Y-parameters of the circuit's network for a defined wave excitation a. |
|
Return the "active" Z-parameters of the circuit's network for a defined wave excitation a. |