skrf.network.innerconnect

skrf.network.innerconnect(ntwkA, k, l)

connect two ports of a single n-port network.

this results in a (n-2)-port network. remember port indices start from 0.

Parameters :

ntwkA : Network

network ‘A’

k,l : int

port indices on ntwkA ( port indices start from 0 )

Returns :

ntwkC : Network

new network of rank (ntwkA.nports+ntwkB.nports -2)-ports

See also

connect_s
actual S-parameter connection algorithm.
innerconnect_s
actual S-parameter connection algorithm.

Notes

a 2-port ‘mismatch’ network between the two connected ports.

Examples

To connect ports ‘0’ and port ‘1’ on ntwkA

>>> ntwkA = rf.Network('ntwkA.s3p')
>>> ntwkC = rf.innerconnect(ntwkA, 0,1)

This Page