Skip to content

About

PyQt-based data viewer for QCoDeS databases

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

QCoDeS-Plotter

release beta

QCoDeS-Plotter, or qPlot, is a PyQt-based data viewer for QCoDeS databases. It is designed for inspecting completed and running experiments, with live refresh, line plots, heatmaps, 1D cut extraction, CSV export, and simple data operations.

Requirements

QCoDeS-Plotter requires Python 3.11 or newer.

Runtime dependencies are declared in pyproject.toml and are installed automatically when qPlot is installed.

Install

Install qPlot inside a Python 3.11 or newer virtual environment: The commands below install the latest full release, 1.4.0. Prereleases are listed on the GitHub releases page but are not used for the default install.

Windows:

py -3 --version
py -3 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -U pip
python -m pip install git+https://github.com/lairdgrouplancaster/QCoDeS-Plotter.git@v1.4.0

macOS:

python3 --version
python3 -m venv .venv-mac
source .venv-mac/bin/activate
python -m pip install -U pip
python -m pip install git+https://github.com/lairdgrouplancaster/QCoDeS-Plotter.git@v1.4.0

If the version check reports Python 3.10 or older, install Python 3.11 or newer first and use that launcher instead, for example python3.12 on macOS.

Virtual environments are not portable between Windows and macOS. If the checkout is synced between operating systems, make sure VS Code is using the interpreter for the current system:

  • Windows: .\.venv\Scripts\python.exe
  • macOS: ./.venv-mac/bin/python

Check the install:

qplot-cfg -info
python -c "import qplot; print(qplot.__file__)"

For editable development installs, see CONTRIBUTING.md.

Run

Start the app from an activated virtual environment:

qplot

To open a database directly:

qplot path/to/database.db

For file-manager Open With and double-click setup, see Opening Databases from the File Manager.

You can also run:

python -m qplot

or start it from Python:

import qplot

qplot.run()

Basic Use

  1. Open qPlot.
  2. Drag a QCoDeS .db file onto the database path field, or use File -> Load Database....
  3. Select a run in the run table.
  4. Plot a measurement by double-clicking its preview, using the run-table context menu, or entering a run ID and measurement number at the top of the window.

Plot windows may appear before their data has finished loading. Check the status bar at the bottom of the plot window before assuming a load has failed.

For detailed workflows, plot controls, live data behavior, operations, CSV export, and keyboard shortcuts, see docs/user-guide.md.

For setup and runtime problems, see docs/troubleshooting.md.

For release history, see CHANGELOG.md.

Configuration

On first run, qPlot creates:

~/.qplot/config.json

Useful commands:

qplot-cfg -info
qplot-cfg -version
qplot-cfg -dump
qplot-cfg -find user_preference.theme
qplot-cfg -set_value user_preference.theme dark
qplot-cfg -reset

For all config keys, defaults, validation rules, and contributor notes, see docs/configuration.md.

Development

For development setup, test commands, and contribution workflow, see CONTRIBUTING.md.

For a short map of the codebase, see docs/architecture.md.

For demo data and screenshot workflow notes, see docs/demo-data.md.

For release and packaging notes, see docs/distribution.md.

Local development helper scripts are documented in scripts/README.md.

About

PyQt-based data viewer for QCoDeS databases

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages