tidy3d.plugins.smatrix.data.base.AbstractComponentModelerData#
- class AbstractComponentModelerData[source]#
Bases:
ABC,Tidy3dBaseModelA data container for the results of a
AbstractComponentModelerrun.- Parameters:
modeler (
AbstractComponentModeler) – The originalAbstractComponentModelerobject that defines the simulation setup and from which this data was generated.data (
SimulationDataMap) – A mapping from task names toSimulationDataobjects, containing the results of each simulation run.log (Optional[str] = None) – A string containing the log information from the modeler post-processing run.
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
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#