# BasebandRectangularPulse

Source time dependence that describes a baseband rectangular pulse. This produces a pulse that ramps up from zero to a constant amplitude, holds for a specified duration, and then ramps back down. The ramp-up and ramp-down profiles are smooth to avoid numerical artifacts.

# Rise Time

rise_time: Time duration over which the pulse ramps up from zero to full amplitude.

Type: floating-point number

  • Unit: s (default), ps, or fs
  • Constraint: greater than 0
  • Required field

# Duration

duration: Duration of the rectangular pulse at full amplitude.

Type: floating-point number

  • Unit: s (default), ps, or fs
  • Constraint: greater than 0
  • Required field

# Amplitude

amplitude: Real-valued maximum amplitude of the time dependence.

Type: floating-point number

  • Unit: unitless
  • Constraint: greater than or equal to 0
  • Default: 1

# Phase

phase: Phase shift of the time dependence.

Type: floating-point number

  • Unit: rad
  • Default: 0