# BasebandRectangularPulse

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

BasebandRectangularPulse time and frequency response

# Formula

Let σ=rise_time/2.563\sigma = \mathrm{rise\_time} / 2.563, tstart=offsetrise_timet_\mathrm{start} = \mathrm{offset}\,\mathrm{rise\_time}, and tstop=tstart+twidtht_\mathrm{stop} = t_\mathrm{start} + \mathrm{twidth}. The source is:

s(t)=A2[erf(ttstart2σ)erf(ttstop2σ)] s(t) = \frac{A}{2}\left[ \mathrm{erf}\left(\frac{t - t_\mathrm{start}}{\sqrt{2}\sigma}\right) - \mathrm{erf}\left(\frac{t - t_\mathrm{stop}}{\sqrt{2}\sigma}\right) \right]

# 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.