tidy3d.components.source.FieldSource

tidy3d.components.source.FieldSource#

class FieldSource[source]#

Bases: Source, ABC

A Source defined by the desired E and/or H fields.

Parameters:
  • name (Optional[str] = None) – Optional name for the source.

  • center (Tuple[float, float, float] = (0.0, 0.0, 0.0)) – [units = um]. Center of object in x, y, and z.

  • size (Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]) – [units = um]. Size in x, y, and z directions.

  • source_time (Union[GaussianPulse, ContinuousWave, CustomSourceTime]) – Specification of the source time-dependence.

Attributes

Methods

__hash__()#

Hash method.