renormalize_s

pmrf.rf.renormalize_s(s: Array, z_old: Array | ndarray | bool | number | bool | int | float | complex, z_new: Array | ndarray | bool | number | bool | int | float | complex, s_def_old='power', s_def_new='power', method='mobius') Array

Renormalize S-parameters from one impedance/definition to another.

Parameters:
  • s (jnp.ndarray) – The input S-parameter matrix.

  • z_old (ArrayLike) – The original characteristic impedance.

  • z_new (ArrayLike) – The new characteristic impedance.

  • s_def_old (str, optional, default='power') – The original S-parameter definition.

  • s_def_new (str, optional, default='power') – The new S-parameter definition.

  • method (str, optional, default='direct') – The algorithm to use. Can be ‘direct’ or ‘hub’.

Returns:

The renormalized S-parameter matrix.

Return type:

jnp.ndarray