How do I set an AstigmaticGaussianBeam source?#
Date |
Category |
---|---|
2023-12-11 15:07:45 |
Sources |
The tidy3d.AstigmaticGaussianBeam class implements the simple astigmatic Gaussian beam described in Kochkina et al., Applied Optics, vol. 52, issue 24, (2013)
. The simple astigmatic Guassian distribution allows both an elliptical intensity profile and different waist locations for the two principal axes of the ellipse. The following example illustrates how to set up a tidy3d.AstigmaticGaussianBeam.
# Source bandwidth.
pulse = tidy3d.GaussianPulse(freq0=200e12, fwidth=20e12)
# Source definition
gauss_source = tidy3d.AstigmaticGaussianBeam(
center=(0, -5, 0),
size=(0, 3, 3),
source_time=pulse,
direction='+',
pol_angle=0,
angle_theta=0,
angle_phi=0,
waist_sizes=(1.0, 2.0),
waist_distances=(-1.0, -2.0),
name="gauss_source",
)
Use the center
and size
parameters to set the source position and dimension, then adjust the source_time
dependence using tidy3d.GaussianPulse. The direction
parameter specifies propagation in the positive or negative direction of the injection axis. You can change the light polarization using pol_angle
, and adjust the propagation axis direction with angle_theta
and angle_phi
to control the polar and azimuth angles. In this example, different waist_sizes
and waist_distances
were specified in the x-
and y-
directions.