flex_rf.tidy3d.SourceTime
Type: class │ Base(s): AbstractTimeDependence
Description
Section titled “Description”Base class describing the time dependence of a source.
Parameters
Section titled “Parameters”amplitude [NonNegativeFloat] = 1.0 |
|
Real-valued maximum amplitude of the time dependence. |
phase [float] = 0.0 |
|
Phase shift of the time dependence. |
Methods
Section titled “Methods”end_time() |
|
Time after which the source is effectively turned off / close to zero amplitude. |
frequency_range(num_fwidth: float = DEFAULT_SIGMA) |
|
Frequency range within plus/minus |
frequency_range_sigma(sigma: float = DEFAULT_SIGMA) |
|
Frequency range where the source amplitude is within |
plot_spectrum(times: ArrayFloat1D, num_freqs: int = 101, val: PlotVal = 'real', ax: Ax = None) |
|
Plot the complex-valued amplitude of the source time-dependence. Note: Only the real part of the time signal is used. |