Skip to main content

QuTech Viewer for xarray Datasets. Supports Core-tools, Quantify and QCoDeS datasets.

Project description

QT-DataViewer

QT-DataViewer is a dataset browser and viewer developed by the Spin Qubit labs of QuTech. It has a GUI search and retrieve datasets, and process (xarray) Datasets to display them as 1D and 2D plots. QT-DataViewer is the preferred dataset browser for the core-tools and sQDL database, but also supports other data sources.

QT-DataViewer can automatically update plots when datasets are updated. Multidimensional datasets can be processed to 1D and 2D plots. Operations like slicing, averaging, FFT and histogram can be applied on each individual axis.

Data storage browser

The browser uses a backend to retrieve data from various sources. Current implementation includes backends for:

  • core-tools database.
  • sQDL (spin qubit data lake) database.
  • Quantify datasets on a file system.
  • xarray datasets stored in HDF5 (h5netcdf).
  • QCoDeS datasets stored as HDF5 files.

Custom backends for other data sources can easily be created. The components of the browser GUI can be configured for the search and retrieval options of the data source.

sQDL backend

SqdlDataBrowser is a data browser with sQDL backend. The sQDL backend requires the package sqdl-client.

from qt_dataviewer.sqdl import SqdlDataBrowser

browser = SqdlDataBrowser("My-Scope")

GUI dark style can be activated with the optional argument gui_style="dark".

Quantify

QuantifyDataBrowser is a data browser with Quantify backend. No additional packages are needed to browse and display the quantify datasets.

from qt_dataviewer.quantify.data_browser import QuantifyDataBrowser

browser = QuantifyDataBrowser()

Start browser in specific directory and in dark mode.

browser = QuantifyDataBrowser(r"test_data\quantify", gui_style="dark")

Notes:

  • The browser scans the directory and all subdirectories for Quantify datasets. This scanning processes can take some time.

core-tools database

CoreToolsDataBrowser is a data browser with backend for the core-tools database. The core-tools backend requires the package core-tools.

The core-tools database must be configured before the browser is started. See core-tools documentation of the configuration.

import core_tools as ct
from qt_dataviewer.core_tools.data_browser import CoreToolsDataBrowser

# configure database
ct.configure(my_configuration_file)

browser = CoreToolsDataBrowser()

File browser

DataFileBrowser is a data browser for xarray datasets stored as HDF5 (h5netcdf). No additional packages are needed to browse and display the datasets.

The backend contains a bit of logic to recognize dataasets generated by core-tools and Quantify. It will extract some application specific attributes like UID and measurement time.

from qt_dataviewer.data_file_browser import DataFileBrowser

browser = DataFileBrowser(r"C:\measurement_data")

GUI dark style can be activated with the optional argument gui_style="dark".

Dataset viewer

The dataset viewer component can also be used without the provided data browsers. It can be used to directly display (a list of) xarray dataset from code.

The xarray data has to be contained in an implementation the Dataset class that gives standardizes access to xarray dataset and various properties. It has methods to check whether the dataset has changed and reload it from the backend.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qt_dataviewer-0.4.5.tar.gz (61.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qt_dataviewer-0.4.5-py3-none-any.whl (80.2 kB view details)

Uploaded Python 3

File details

Details for the file qt_dataviewer-0.4.5.tar.gz.

File metadata

  • Download URL: qt_dataviewer-0.4.5.tar.gz
  • Upload date:
  • Size: 61.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for qt_dataviewer-0.4.5.tar.gz
Algorithm Hash digest
SHA256 868bf6e0d42537cbdb92d70bb4b39f975d59e5c2ba5fe9609bc5ab2a6e794a0c
MD5 72af6c9ea115e5cf22efd947c32ea2c6
BLAKE2b-256 4f20f47ae786e859f2ac57d80a9cfe47218d4dd4a7a2f99eb37fa7970d592ba1

See more details on using hashes here.

File details

Details for the file qt_dataviewer-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: qt_dataviewer-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 80.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for qt_dataviewer-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1286e310563c4b11976852ac8e2db28607899e27e8f26eb423ebe77eff07a6
MD5 9622058ab82d71794da2fa642cb17b39
BLAKE2b-256 f4a55f0c0f904b0c445e8752b1b0b9d14edb7c61fb4e2326c57de4bf4bf961ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page