Provides a n-port network class and associated functions.
Most of the functionality in this module is provided as methods and
properties of the Network Class.
Network Class
Network([touchstone_file, name]) |
A n-port electrical network. |
Connecting Networks
connect(ntwkA, k, ntwkB, l) |
connect two n-port networks together. |
innerconnect(ntwkA, k, l) |
connect two ports of a single n-port network. |
cascade(ntwkA, ntwkB) |
cascade two 2-port Networks together |
de_embed(ntwkA, ntwkB) |
de-embed ntwkA from ntwkB. this calls ntwkA.inv**ntwkB. |
Supporting Functions
inv(s) |
Calculates ‘inverse’ s-parameter matrix, used for de-embeding |
connect_s(A, k, B, l) |
connect two n-port networks’ s-matricies together. |
innerconnect_s(A, k, l) |
connect two ports of a single n-port network’s s-matrix. |
s2z(s[, z0]) |
convert scattering parameters to impedance parameters [#]_ |
s2y(s[, z0]) |
convert scattering parameters to admittance parameters [#]_ |
s2t(s) |
converts scattering parameters to scattering transfer parameters. |
z2s(z[, z0]) |
convert impedance parameters to scattering parameters [#]_ |
z2y(z) |
convert impedance parameters to admittance parameters [#]_ |
z2t(z) |
Not Implemented yet |
y2s(y[, z0]) |
convert admittance parameters to scattering parameters [#]_ |
y2z(y) |
convert admittance parameters to impedance parameters [#]_ |
y2t(y) |
Not Implemented Yet |
t2s(t) |
converts scattering transfer parameters to scattering parameters |
t2z(t) |
Not Implemented Yet |
t2y(t) |
Not Implemented Yet |