mwavepy.network.connect_s

mwavepy.network.connect_s(A, k, B, l)

connect two n-port networks’ s-matricies together.

specifically, connect port k on network A to port l on network B. The resultant network has nports = (A.rank + B.rank-2). This function operates on, and returns s-matricies. The function connect() operates on Network types.

Parameters :

A : numpy.ndarray

S-parameter matrix of A, shape is fxnxn

k : int

port index on A (port indecies start from 0)

B : numpy.ndarray

S-parameter matrix of B, shape is fxnxn

l : int

port index on B

Returns :

C : numpy.ndarray

new S-parameter matrix

See also

connect
operates on Network types
innerconnect_s
function which implements the connection connection algorithm

Notes

internally, this function creates a larger composite network and calls the innerconnect_s() function. see that function for more details about the implementation

Previous topic

mwavepy.network.one_port_2_two_port

Next topic

mwavepy.network.innerconnect_s

This Page