skrf.network.cascade

skrf.network.cascade(ntwkA: skrf.network.Network, ntwkB: skrf.network.Network) → skrf.network.Network[source]

Cascade two 2, 2N-ports Networks together

Connects ports N through 2N-1 on ntwkA to ports 0 through N of ntwkB. This calls connect(), which is a more general function. Use Network.renumber to change port order if needed.

Notes

connection diagram:

    A                B
 +---------+   +---------+
-|0      N |---|0      N |-
-|1     N+1|---|1     N+1|-
...       ... ...       ...
-|N-2  2N-2|---|N-2  2N-2|-
-|N-1  2N-1|---|N-1  2N-1|-
 +---------+   +---------+
Parameters:
Returns:

C – the resultant network of ntwkA cascaded with ntwkB

Return type:

Network

See also

connect()
connects two Networks together at arbitrary ports.
Network.renumber()
changes the port order of a network