terminate_a_in_s

terminate_a_in_s(Amat, Smat, z0, s_def='power')[source]

Terminates an ABCD matrix in an S-parameter matrix.

Currently this only supports terminating a two-port in a one-port. The resultant terminated one-port S matrix is returned.

Parameters:
  • Amat (jnp.ndarray) – The ABCD matrix to terminate from.

  • Smat (jnp.ndarray:) – The S matrix to terminate into.

  • z0 (jnp.ndarray:) – The characteristic impedance of the S-matrix being terminated.

Returns:

The resulting S-parameter matrix of the terminated system.

Return type:

jnp.ndarray