skrf.network.innerconnect_s
- skrf.network.innerconnect_s(A, k, l)[source]
Connect two ports of a single n-port network’s s-matrix.
Specifically, connect port k to port l on A. This results in a (n-2)-port network. This function operates on, and returns s-matrices. The function
innerconnect()
operates onNetwork
types.Note
The algorithm used to calculate the resultant network is called a ‘sub-network growth’, can be found in [1]. The original paper describing the algorithm is given in [2].
- Parameters:
A (
numpy.ndarray
) – S-parameter matrix of A, shape is fxnxnk (int) – port index on A (port indices start from 0)
l (int) – port index on A
- Returns:
C – new S-parameter matrix
- Return type:
References