tidy3d.components.source.BroadbandSource#

class BroadbandSource[source]#

Bases: Source, ABC

A source with frequency dependent field distributions.

Parameters:
  • name (Attribute: name) –

    Type

    Optional[str]

    Default

    = None

    Description

    Optional name for the source.

  • center (Attribute: center) –

    Type

    Tuple[float, float, float]

    Default

    = (0.0, 0.0, 0.0)

    Units

    um

    Description

    Center of object in x, y, and z.

  • size (Attribute: size) –

    Type

    Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]

    Default

    Units

    um

    Description

    Size in x, y, and z directions.

  • source_time (Attribute: source_time) –

    Type

    Union[GaussianPulse, ContinuousWave, CustomSourceTime]

    Default

    Description

    Specification of the source time-dependence.

  • num_freqs (Attribute: num_freqs) –

    Type

    ConstrainedIntValue

    Default

    = 1

    Description

    Number of points used to approximate the frequency dependence of injected field. A Chebyshev interpolation is used, thus, only a small number of points, i.e., less than 20, is typically sufficient to obtain converged results.

Attributes

frequency_grid

A Chebyshev grid used to approximate frequency dependence.

Methods

num_freqs#
property frequency_grid#

A Chebyshev grid used to approximate frequency dependence.

__hash__()#

Hash method.