Component_Data
rfnetwork.component.Component_Data
- class rfnetwork.component.Component_Data(data, state={})
Bases:
ComponentComponent defined from a user-defined data.
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,
evaluatecallsevaluate_sdatainstead ofevaluate_dataand 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
stateproperty 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
Component_Data.equals(other)Returns True if the s-matrix data from other is equivalent to this object.
Component_Data.evaluate_sdata(frequency)Returns s-matrix matrix of the component.
Attributes
Return the frequency values of the touchstone file for the current state.