Short

rfnetwork.elements.Short

class rfnetwork.elements.Short

Bases: Component

1-port short-circuit load

Parameters

shuntbool, default: False

If True, port 2 is connected to ground and port 1 is transformed into a 2-port component that can be cascaded with other components.

passivebool, default: True

if True, evaluate calls evaluate_sdata instead of evaluate_data and noise correlation matrix is computed passively.

n_portint, default: 2

number of component ports

statedict, optional

dictionary of state variables specific to the sub-class (i.e. line width, switch state etc…). The state values can be read with the state property and changed later with set_state(). Attempting to set the state of variables that were not included in the initial dictionary will raise an error.

Methods

Short.evaluate_sdata(frequency)

Returns s-matrix of the component.

Attributes