tidy3d.components.source.BroadbandSource#

class BroadbandSource[source]#

Bases: Source, ABC

A source with frequency dependent field distributions.

Parameters:
  • name (Optional[str] = None) – Optional name for the source.

  • center (Tuple[float, float, float] = (0.0, 0.0, 0.0)) – [units = um]. Center of object in x, y, and z.

  • size (Tuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]) – [units = um]. Size in x, y, and z directions.

  • source_time (Union[GaussianPulse, ContinuousWave, CustomSourceTime]) – Specification of the source time-dependence.

  • num_freqs (ConstrainedIntValue = 1) – 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

Inherited Common Usage

num_freqs#
property frequency_grid#

A Chebyshev grid used to approximate frequency dependence.

__hash__()#

Hash method.