tidy3d.components.base_sim.monitor.BoxMonitor

tidy3d.components.base_sim.monitor.BoxMonitor#

class BoxMonitor[source]#

Bases: AbstractMonitor, Box, ABC

Abstract base class for monitors whose region is a box given by center and size.

Parameters:
  • center (tuple[Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box]] = (0.0, 0.0, 0.0)) – [units = um]. Center of object in x, y, and z.

  • size (tuple[Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box], Union[NonNegativeFloat, autograd.tracer.Box]]) – [units = um]. Size in x, y, and z directions.

  • name (str) – Unique name for monitor.

Attributes

geometry

Box representation of monitor.

name

size

center

property geometry#

Box representation of monitor.

Returns:

Representation of the monitor geometry as a Box.

Return type:

Box