flex_rf.tidy3d.BasebandRectangularPulse
Type: class │ Base(s): BasebandSourceTime
Description
Section titled “Description”Smoothed rectangular pulse source time profile.
The signal is a flat-top pulse constructed from two error functions,
producing a smooth rise and fall. The rise_time parameter specifies
the 10%-to-90% rise/fall time.
Example(s)
Section titled “Example(s)”pulse = BasebandRectangularPulse(rise_time=1e-10, twidth=1e-9)Parameters
Section titled “Parameters”rise_time [PositiveFloat] |
|
The 10%-to-90% rise/fall time in seconds. Related to the Gaussian standard deviation (sigma) by |
twidth [PositiveFloat] |
|
Duration of the flat-top region in seconds. |
amplitude [NonNegativeFloat] = 1.0 |
|
Real-valued maximum amplitude of the time dependence. |
phase [Literal[0]] = 0 |
|
Phase is locked to 0 for baseband source times (no carrier frequency). |
offset [float] = 5.0 |
|
Delay of the pulse start (rising edge center) in units of |
Methods
Section titled “Methods”amp_time(time: float | ArrayFloat1D) |
|
Real-valued source amplitude as a function of time. |
end_time() |
|
Time after which the source is effectively zero. |
frequency_range(num_fwidth: float = DEFAULT_SIGMA) |
|
Frequency range based on equivalent bandwidth (determined by rise time). |
fwidth_equiv() |
|
Equivalent frequency-domain standard deviation (sigma_f) in Hz. |
t_start() |
|
Center of the rising edge in seconds. |
t_stop() |
|
Center of the falling edge in seconds. |