GaussianSquare.draw

GaussianSquare.draw(dt=1, style=None, filename=None, interp_method=None, scale=1, interactive=False, scaling=None)

Plot the pulse.

Parameters
  • dt (float) – Time interval of samples.

  • style (Optional[PulseStyle]) – A style sheet to configure plot appearance

  • filename (Optional[str]) – Name required to save pulse image

  • interp_method (Optional[Callable]) – A function for interpolation

  • scale (float) – Relative visual scaling of waveform amplitudes

  • interactive (bool) – When set true show the circuit in a new window (this depends on the matplotlib backend being used supporting this)

  • scaling (Optional[float]) – Deprecated, see scale

Returns

A matplotlib figure object of the pulse envelope

Return type

matplotlib.figure