tidy3d.plugins.smatrix.MicrowaveSMatrixData#
- class MicrowaveSMatrixData[source]#
Bases:
MicrowaveBaseModelStores 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,
attrsare mutable. For example, the following is allowed for setting anattrobj.attrs['foo'] = bar. Also note that Tidy3D will raise aTypeErrorifattrscontain objects that can not be serialized. One can check ifattrsare serializable by callingobj.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
dataMethods
Inherited Common Usage
- port_reference_impedances#
- data#
- s_param_def#
- __hash__()#
Hash method.