a2s
- a2s(a, z0=50)[source]
Convert ABCD parameters to S-parameters.
- Parameters:
a (jnp.ndarray) – The ABCD parameter matrix with shape (nfreqs, 2, 2).
z0 (NumberLike, 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.