tidy3d.SurfaceFieldTimeData#

class SurfaceFieldTimeData[source]#

Bases: ElectromagneticSurfaceFieldData

Parameters:
  • E (Optional[TriangularSurfaceDataset] = None) – Spatial distribution of the electric field on the one side of the surface.

  • H (Optional[TriangularSurfaceDataset] = None) – Spatial distribution of the magnetic field on the one side of the surface.

  • normal (TriangularSurfaceDataset) – Normal direction of the surface oriented outward from the surface.

  • monitor (SurfaceFieldTimeMonitor) – Time-domain field monitor associated with the data.

  • symmetry (tuple[Literal[0, -1, 1], Literal[0, -1, 1], Literal[0, -1, 1]] = (0, 0, 0)) – Symmetry of the original simulation in x, y, and z.

  • symmetry_center (tuple[float, float, float] = (0, 0, 0)) – Symmetry center of the original simulation in x, y, and z.

Example

>>> from tidy3d import PointDataArray, IndexedSurfaceFieldTimeDataArray, TriangularSurfaceDataset, CellDataArray
>>> import tidy3d as td
>>> old_logging_level = td.config.logging_level
>>> td.config.logging_level = "ERROR"
>>> points = PointDataArray([[0, 0, 0], [0, 1, 0], [1, 1, 1]], dims=["index", "axis"])
>>> cells = CellDataArray([[0, 1, 2]], dims=["cell_index", "vertex_index"])
>>> values = PointDataArray([[1, 0, 0], [0, 1, 0], [0, 0, 1]], dims=["index", "axis"])
>>> field_values = IndexedSurfaceFieldTimeDataArray(np.ones((3, 1, 3, 1)) + 0j, coords={"index": [0, 1, 2], "side": ["outside"],"axis": [0, 1, 2], "t": [1e-9]})
>>> field = TriangularSurfaceDataset(points=points, cells=cells, values=field_values)
>>> normal = TriangularSurfaceDataset(points=points, cells=cells, values=values)
>>> monitor = SurfaceFieldTimeMonitor(
...     size=(2,4,6), interval=100, name='field', fields=['E', 'H']
... )
>>> data = SurfaceFieldTimeData(monitor=monitor, E=field, H=field, normal=normal)
>>> td.config.logging_level = old_logging_level

Attributes

poynting

Poynting vector for time-domain data.

monitor

symmetry

symmetry_center

E

H

normal

monitor#
property poynting#

Poynting vector for time-domain data.