Flipped

class pmrf.models.composite.transformed.Flipped(model: Model, *, z0: complex = 50 + 0j, name: str | None = None, metadata: Any = None)

Bases: Renumbered

A model container that flips the ports of a multi-port network.

For a 2-port network, this is equivalent to swapping port 1 and port 2. For a 4-port network, ports (1,2) are swapped with (3,4), and so on. This is a convenient specialization of the Renumbered model.

from_ports: tuple[int]