s2z
- pmrf.rf.s2z(s: Array, z0: Array | ndarray | bool | number | bool | int | float | complex = 50, s_def='power') Array
Convert S-parameters to Impedance (Z) parameters.
- Parameters:
s (jnp.ndarray) – The S-parameter matrix with shape (nports, nports) or (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 Impedance matrix with shape matching the input s.
- Return type:
jnp.ndarray