tidy3d.components.source.CurrentSource#
- class CurrentSource[source]#
Bases:
Source
,ABC
Source implements a current distribution directly.
- 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.
polarization (Literal['Ex', 'Ey', 'Ez', 'Hx', 'Hy', 'Hz']) β Specifies the direction and type of current component.
Attributes
Methods
- polarization#
- __hash__()#
Hash method.