y2s

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

Convert Admittance (Y) parameters to S-parameters.

Parameters:
  • y (jnp.ndarray) – The Admittance 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 S-parameter matrix with shape (nfreqs, nports, nports).

Return type:

jnp.ndarray