tidy3dclient.GaussianSource¶
-
class
tidy3dclient.GaussianSource(center, size, f0, fwidth, polarization, offset=5.0, amplitude=1.0, name=None)¶ Electric current source with Gaussian-pulse time dependence in a rectangular 3D region.
-
__init__(center, size, f0, fwidth, polarization, offset=5.0, amplitude=1.0, name=None)¶ Construct.
- Parameters
center (array_like) – (micron) x, y, and z position of the center of the source.
size (array_like) – (micron) Size in x, y, and z.
f0 (float) – (Hertz) Carrier frequency.
fwidth (float) – (Hertz) Frequency bandwidth.
polarization (str) – Source polarized along one of
'x','y', or'z'.offset (float, optional) – Offset of the peak of the Gaussian envelope from the starting time of the simulation, in units of
1/fwidth. The peak of the source amplitude is attained at timet = offset/fwidth.amplitude (float, optional) – Amplitude, arbitrary units.
name (str, optional) – Custom name of the source.
Methods
__init__(center, size, f0, fwidth, polarization)Construct.
-