tidy3d.GaussianPulse#

class GaussianPulse[source]#

Bases: Pulse

Source time dependence that describes a Gaussian pulse.

Parameters:
  • amplitude (Attribute: amplitude) –

    Type

    NonNegativeFloat

    Default

    = 1.0

    Description

    Real-valued maximum amplitude of the time dependence.

  • phase (Attribute: phase) –

    Type

    float

    Default

    = 0.0

    Units

    rad

    Description

    Phase shift of the time dependence.

  • freq0 (Attribute: freq0) –

    Type

    PositiveFloat

    Default

    Units

    Hz

    Description

    Central frequency of the pulse.

  • fwidth (Attribute: fwidth) –

    Type

    PositiveFloat

    Default

    Units

    Hz

    Description

    Standard deviation of the frequency content of the pulse.

  • offset (Attribute: offset) –

    Type

    ConstrainedFloatValue

    Default

    = 5.0

    Description

    Time delay of the maximum value of the pulse in units of 1 / (2pi * fwidth).

  • remove_dc_component (Attribute: remove_dc_component) –

    Type

    bool

    Default

    = True

    Description

    Whether to remove the DC component in the Gaussian pulse spectrum. If True, the Gaussian pulse is modified at low frequencies to zero out the DC component, which is usually desirable so that the fields will decay. However, for broadband simulations, it may be better to have non-vanishing source power near zero frequency. Setting this to False results in an unmodified Gaussian pulse spectrum which can have a nonzero DC component.

Example

>>> pulse = GaussianPulse(freq0=200e12, fwidth=20e12)

Attributes

Methods

amp_time(time)

Complex-valued source amplitude as a function of time.

remove_dc_component#
amp_time(time)[source]#

Complex-valued source amplitude as a function of time.

__hash__()#

Hash method.