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 (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 S-parameter matrix with shape matching the input y.
- Return type:
jnp.ndarray