tidy3d.components.source.Pulse#

class Pulse[source]#

Bases: SourceTime, ABC

A source time that ramps up with some fwidth and oscillates at freq0.

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).

Attributes

Methods

frequency_range([num_fwidth])

Frequency range within 5 standard deviations of the central frequency.

freq0#
fwidth#
offset#
frequency_range(num_fwidth=4.0)[source]#

Frequency range within 5 standard deviations of the central frequency.

Parameters:

num_fwidth (float = 4.) – Frequency range defined as plus/minus num_fwidth * self.fwdith.

Returns:

Minimum and maximum frequencies of the GaussianPulse or ContinuousWave power.

Return type:

Tuple[float, float]

__hash__()#

Hash method.