a2s
- pmrf.rf.a2s(a: Array, z0: Array | ndarray | bool | number | bool | int | float | complex = 50) Array
Convert ABCD parameters to S-parameters.
- Parameters:
a (jnp.ndarray) – The ABCD parameter matrix with shape (nfreqs, 2, 2).
z0 (ArrayLike, optional, default=50) – The characteristic impedance.
- Returns:
The S-parameter matrix with shape (nfreqs, 2, 2).
- Return type:
jnp.ndarray
- Raises:
IndexError – If the input is not a 2-port network.