tidy3d.components.source.AngledFieldSource#
- class AngledFieldSource[source]#
- Bases: - DirectionalSource,- ABC- A FieldSource defined with an angled direction of propagation. - 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. 
- angle_theta (float = 0.0) β [units = rad]. Polar angle of the propagation axis from the injection axis. 
- angle_phi (float = 0.0) β [units = rad]. Azimuth angle of the propagation axis in the plane orthogonal to the injection axis. 
- pol_angle (float = 0) β [units = rad]. Specifies the angle between the electric field polarization of the source and the plane defined by the injection axis and the propagation axis (rad). - pol_angle=0(default) specifies P polarization, while- pol_angle=np.pi/2specifies S polarization. At normal incidence when S and P are undefined,- pol_angle=0defines: -- Eypolarization for propagation along- x.-- Expolarization for propagation along- y.-- Expolarization for propagation along- z.
 
 - Notes - The direction is defined by the polar and azimuth angles w.r.t. an injection axis, as well as forward - +or backward- -. This base class only defines the- directionand- injection_axisattributes, but it must be composed with a class that also defines- angle_thetaand- angle_phi.- Attributes - Methods - glancing_incidence(val)- Warn if close to glancing incidence. - angle_theta#
 - angle_phi#
 - pol_angle#
 - __hash__()#
- Hash method.