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