tidy3d.components.source.field.PlanarSource#
- class PlanarSource[source]#
-
A source defined on a 2D plane.
- Parameters:
name (Optional[str] = None) – Optional name for the source.
center (Optional[tuple[Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box], Union[float, autograd.tracer.Box]]] = None) – [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.
source_time (Union[
GaussianPulse,ContinuousWave,CustomSourceTime,BroadbandPulse,BasebandStep,BasebandGaussianPulse,BasebandRectangularPulse,BasebandCustomSourceTime]) – Specification of the source time-dependence.use_colocated_integration (bool = True) – If
True(default), source power normalization uses fields interpolated to grid cell boundaries (colocated). IfFalse, uses fields at native Yee grid positions (non-colocated). Should match theuse_colocated_integrationsetting on monitors for consistent power normalization. Experimental feature that can give improved accuracy by avoiding interpolation of fields to Yee cell positions for integration.
Attributes
Injection axis of the source.
source_timesizecentername- use_colocated_integration#
- property injection_axis#
Injection axis of the source.