connect_s_common
- pmrf.rf.connect_s_common(Smats: Sequence[Array] | Array, z0s: Sequence[Array] | Array, ports: Sequence[int | Sequence[int]]) Array
Connect a series of multi-port S-parameter matrices using Hallbjörner’s method at a single intersection.
Ensures that the specified port indices share the concatenated intersection, implying they are electrically common.
- Parameters:
Smats (jnp.ndarray or Sequence[jnp.ndarray]) – S-parameter matrices. Shape of each matrix is (Nf, n, n).
z0s (jnp.ndarray or Sequence[jnp.ndarray]) – Characteristic impedances (z0) of each S in Smats.
ports (Sequence[int | Sequence[int]]) – A sequence of port indices. Each entry corresponds to the ports of the respective network in Smats. The length of ports should match the length of Smats.
- Returns:
A tuple (S, z0) containing the combined S-matrix and z0 matrix.
- Return type:
tuple
References