# BasebandRectangularPulse
BasebandRectangularPulse defines a smoothed rectangular pulse with finite rise and fall times.

# Formula
Let , , and . The source is:
# Parameters
rise_time: 10%-to-90% rise and fall time.
- Unit: s
- Constraint: greater than 0
- Required field
twidth: Duration of the flat-top region.
- Unit: s
- Constraint: greater than 0
- Required field
offset: Delay of the rising-edge center in units of rise_time.
- Constraint: greater than or equal to 2.5
- Default: 5
amplitude: Pulse amplitude.
- Default: 1
phase: Locked to 0 for baseband source times.