tidy3d.components.source.BroadbandSource#
- class BroadbandSource[source]#
Bases:
Source,ABCA source with frequency dependent field distributions.
- Parameters:
name (Attribute:
name) –TypeOptional[str]
Default= None
DescriptionOptional name for the source.
center (Attribute:
center) –TypeTuple[float, float, float]
Default= (0.0, 0.0, 0.0)
Unitsum
DescriptionCenter of object in x, y, and z.
size (Attribute:
size) –TypeTuple[NonNegativeFloat, NonNegativeFloat, NonNegativeFloat]
DefaultUnitsum
DescriptionSize in x, y, and z directions.
source_time (Attribute:
source_time) –TypeUnion[GaussianPulse, ContinuousWave, CustomSourceTime]
DefaultDescriptionSpecification of the source time-dependence.
num_freqs (Attribute:
num_freqs) –TypeConstrainedIntValue
Default= 1
DescriptionNumber 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.