Circuit class represents a circuit of arbitrary topology,
consisting of an arbitrary number of N-ports networks.
Like in an electronic circuit simulator, the circuit must have one or more ports
connected to the circuit. The Circuit object allows one retrieving the M-ports network,
where M is the number of ports defined.
The results are returned in Circuit
object.
Building a Circuit
Circuit (connections) |
Creates a circuit made of a set of N-ports networks. |
Circuit.Port (frequency, name[, z0]) |
Return a 1-port Network to be used as a Circuit port. |
Circuit.Ground (frequency, name[, z0]) |
Return a 1-port network of a grounded link, to be used in a Circuit description. |
Representing a Circuit
Circuit.plot_graph (**kwargs) |
Plot the graph of the circuit using networkx drawing capabilities. |
Network Representations
Circuit.network |
Return the Network associated to external ports |
Circuit.s |
Return the global scattering parameters of the circuit, that is with both “inner” and “outer” ports |
Circuit.s_external |
Return the scattering parameters for the external ports |
Circuit.s_active (a) |
Return active s-parameters of the circuit’s network for a defined wave excitation a. |
Circuit.z_active (a) |
Return the active Z-parameters of the circuit’s network for a defined wave excitation a. |
Circuit.y_active (a) |
Return the active Y-parameters of the circuit’s network for a defined wave excitation a. |
Circuit.vswr_active (a) |
Return the active VSWR of the circuit’s network for a defined wave excitation a. |
Circuit.port_z0 |
Return the external port impedances |