tidy3d.plugins.smatrix.data.base.AbstractComponentModelerData#

class AbstractComponentModelerData[source]#

Bases: ABC, Tidy3dBaseModel

A data container for the results of a AbstractComponentModeler run.

Parameters:

Notes

This class stores the original modeler and the simulation data obtained from running the simulations it defines. It also provides a method to compute the S-matrix from the simulation data.

Attributes

Methods

keys_match_modeler()

Validates that the keys of the 'data' dictionary match the keys of the 'modeler.sim_dict' dictionary, irrespective of order.

smatrix()

Computes and returns the scattering matrix (S-matrix).

modeler#
data#
log#
abstract smatrix()[source]#

Computes and returns the scattering matrix (S-matrix).

keys_match_modeler()[source]#

Validates that the keys of the ‘data’ dictionary match the keys of the ‘modeler.sim_dict’ dictionary, irrespective of order.