supergrad.time_evolution.pulseshape.draw

Contents

supergrad.time_evolution.pulseshape.draw#

supergrad.time_evolution.pulseshape.draw(pulse: PulseBase, ts, function: str | None = 'pulse', title: str | None = None)[source]#

Plot the pulse over an array ts. The function arg specifies which function to plot:

  • function == 'pulse' plots the full driving pulse.

  • function == 'envelope' plots the envelope.

Parameters:
  • ts – The time values array to plot.

  • function – Which function to plot.

  • title – Title of plot.