Attenuator

class pmrf.models.components.ideal.Attenuator(loss: Array | ndarray | bool | number | bool | int | float | complex, *, name: str | None = None, metadata: Any = None, z0: Any = 50.0)

Bases: Model

(experimental) A matched, 2-port physical attenuator.

Parameters:
  • loss (ArrayLike) – The attenuation in dB (a positive value indicates loss). This is not a tunable parameter by default. To specify a free parameter, use a constructor from pmrf.parameters.

  • z0 (ArrayLike, default=50.0) – The intrinsic characteristic impedance for which the physical attenuator was designed.

loss: Array | ndarray | bool | number | bool | int | float | complex

The attenuation in dB.

z0: ndarray = 50.0

The intrinsic characteristic impedance of the physical device.