FloatingLine

class pmrf.models.components.lines.FloatingLine(line: TransmissionLine, *, name: str | None = None, z0: complex = 50 + 0j)

Bases: Model

A wrapper that converts a 2-port single-ended transmission line into a 4-port floating line with an explicit return path.

s(frequency: Frequency) Array

Scattering parameter matrix.

If a different parameter type (a, z, y) is primary, this converts it to S.

Note that, in ParamRF, the power wave definition of S-parameters should be used. If you have a formulation in terms of another definition (such as traveling waves), simply use pmrf.rf.s2s() (or pmrf.rf.renormalize_s() if you need to change impedance too).

Parameters:

freq (Frequency) – Frequency grid.

Returns:

S-parameter matrix with shape (nf, n, n).

Return type:

jnp.ndarray

line: TransmissionLine

The inner transmission line model to be wrapped.