s2y

pmrf.rf.s2y(s: Array, z0: Array | ndarray | bool | number | bool | int | float | complex = 50, s_def: str = 'power') Array

Convert S-parameters to Admittance (Y) parameters.

Parameters:
  • s (jnp.ndarray) – The S-parameter matrix with shape (nfreqs, nports, nports).

  • z0 (ArrayLike, optional, default=50) – The characteristic impedance.

  • s_def (str, optional, default='power') – The S-parameter definition (‘power’ or ‘traveling’).

Returns:

The Admittance matrix with shape (nfreqs, nports, nports).

Return type:

jnp.ndarray