qfabric.visualizer

plot

qfabric.visualizer.plot.logic_sequence(sequence, analog_map=None, digital_map=None, default_sample_rate_MHz=625)

Displays the sequence in the logic mode.

Each step is depicted as equal length. Click on each pulse to see details of the pulse.

If run in Jupyter notebook or other python processes with an event loop, clicking on functions in the sequence will not show the details.

Parameters:
  • sequence (Sequence) – Sequence to be displayed.

  • analog_map (dict[int, str]) – Optional names displayed for analog channels.

  • digital_map (dict[int, str]) – Optional names displayed for digital channels.

  • default_sample_rate_MHz (float) – Default sample rate used to visualize functions.

qfabric.visualizer.plot.timeline_sequence(sequence, analog_map=None, digital_map=None, default_sample_rate_MHz=625)

Displays the sequence in the timeline mode.

Each step is depicted with width proportional to duration. Click on each pulse to see details of the pulse.

If run in Jupyter notebook or other python processes with an event loop, clicking on functions in the sequence will not show the details.

Parameters:
  • sequence (Sequence) – Sequence to be displayed.

  • analog_map (dict[int, str]) – Optional names displayed for analog channels.

  • digital_map (dict[int, str]) – Optional names displayed for digital channels.

  • default_sample_rate_MHz (float) – Default sample rate used to visualize functions.