qcodes.interactive_widget

This file contains functions to displays an interactive widget with information about qcodes.dataset.experiments().

Functions:

experiments_widget([db, data_sets, sort_by])

Displays an interactive widget that shows the qcodes.dataset.experiments().

nested_dict_browser(nested_dict[, nested_keys])

Returns a widget to interactive browse a nested dictionary.

qcodes.interactive_widget.experiments_widget(db: str | None = None, data_sets: Sequence[DataSetProtocol] | None = None, *, sort_by: Literal['timestamp', 'run_id'] | None = 'run_id') VBox[source]

Displays an interactive widget that shows the qcodes.dataset.experiments().

With the edit button in the column Notes one can make persistent changes to the qcodes.dataset.DataSetProtocols attribute metadata in the key “widget_notes”. Expanding the coordinates or variables buttons, reveals more options, such as plotting or the ability to easily browse the qcodes.dataset.DataSetProtocols snapshot.

Parameters:
  • db – Optionally pass a database file, if no database has been loaded.

  • data_sets – Sequence of qcodes.dataset.DataSetProtocols. If datasets are explicitly provided via this argument, the db argument has no effect.

  • sort_by – Sort datasets in widget by either “timestamp” (newest first), “run_id” or None (no predefined sorting).

qcodes.interactive_widget.nested_dict_browser(nested_dict: dict[Any, Any], nested_keys: Sequence[str] = ()) Box[source]

Returns a widget to interactive browse a nested dictionary.