tidy3d.components.source.DirectionalSource#
- class DirectionalSource[source]#
Bases:
FieldSource
,ABC
A Field source that propagates in a given direction.
- 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.
direction (Literal['+', '-']) β Specifies propagation in the positive or negative direction of the injection axis.
Attributes
Methods
- direction#
- __hash__()#
Hash method.