CFEL-CMI / pymepix-viewer

A simple GUI for Timepix3cam use with the pymepix library
https://www.controlled-molecule-imaging.org/research/software
Other
5 stars 0 forks source link
data-acquisition gui timepix3

This repository is deprecated, please see the puiblic project at https://gitlab.desy.de/CMI/CMI-public/pymepix-viewer for details.

PymePix Viewer

PymePix-viewer is a basic graphical user interface for data acquisition using the PymePix library. It is not meant as a full-fledged and stable DAQ-GUI, but to demonstrate the capabilities of PymePix, to provide an initial operational system for easy entrance to Timepix operation, and as a reference implementation for PymePix use.

Prerequisites

Obviously, you need PymePix to be operational.

For the PymePix viewer PyQt5 is a requirement. This can be installed (painfully) manually or using package managers such as Anaconda (conda install pyqt=5), MacPorts (sudo port install py38-pyqt5), or similar.

Installing

In the pymepixviewer project folder run the installation script through

python3 -m pip install .

if you try to install in a Conda or virtual environment, you need to do

python3 -m pip install --user .

Standard setuptools options such as -e for development are available; see, e.g., the PymePix documentation for some details.

Running

To run the GUI start it from a terminal as

pymepixviewer

If the prerequisites are satisfied and a Timepix3cam is connected then a window should open. See the PymePix documentation for further details.