y2a

pmrf.rf.y2a(y: Array) Array

Directly convert Admittance (Y) parameters to ABCD parameters.

Parameters:

y (jnp.ndarray) – The Admittance matrix with shape (2, 2) or (nfreqs, 2, 2).

Returns:

The ABCD parameter matrix with shape matching the input y.

Return type:

jnp.ndarray