tidy3d.plugins.smatrix.MicrowaveSMatrixData#

class MicrowaveSMatrixData[source]#

Bases: MicrowaveBaseModel

Stores the computed S-matrix and reference impedances for the terminal ports.

Parameters:
  • attrs (dict = {}) – Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields, attrs are mutable. For example, the following is allowed for setting an attr obj.attrs['foo'] = bar. Also note that Tidy3D will raise a TypeError if attrs contain objects that can not be serialized. One can check if attrs are serializable by calling obj.json().

  • port_reference_impedances (Optional[PortDataArray] = None) – Reference impedance for each port used in the S-parameter calculation. This is optional and may not be present if not specified or computed.

  • data (TerminalPortDataArray) – An array containing the computed S-matrix of the device. The data is organized by terminal ports, representing the scattering parameters between them.

  • s_param_def (Literal['pseudo', 'power'] = pseudo) – Whether scattering parameters are defined using the β€˜pseudo’ or β€˜power’ wave definitions.

Attributes

data

attrs

Methods

Inherited Common Usage

port_reference_impedances#
data#
s_param_def#
__hash__()#

Hash method.