tidy3d.ContinuousWave#

class ContinuousWave[source]#

Bases: Pulse

Source time dependence that ramps up to continuous oscillation and holds until end of simulation.

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

Note

Field decay will not occur, so the simulation will run for the full run_time. Also, source normalization of frequency-domain monitors is not meaningful.

Example

>>> cw = ContinuousWave(freq0=200e12, fwidth=20e12)

Attributes

Methods

amp_time(time)

Complex-valued source amplitude as a function of time.

amp_time(time)[source]#

Complex-valued source amplitude as a function of time.

__hash__()#

Hash method.