Files
slsDetectorPackage/pyctbgui
e4a97b1ea9
Build on RHEL9 docker image / build (push) Successful in 4m36s
Build on RHEL8 docker image / build (push) Successful in 5m16s
Build and Deploy on local RHEL9 / build (push) Successful in 2m7s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m7s
Dev/ctb/display counter images (#1471)
* WIP

* show image coordinates

* passing frame and plot values dynamically

* WIP

* succesfully show each counter as one image

* added checkboxes for different images

* only display counters for transceiver samples and image plot

* fixed layout

* dont reshape already done in transform

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-06-16 16:30:14 +02:00
..
2026-02-23 12:33:10 +01:00
2024-09-10 16:00:04 +02:00
2024-09-10 16:00:04 +02:00
2024-09-10 16:00:04 +02:00
2026-02-23 12:33:10 +01:00

New Chip Test Board Gui using Python

Prototype for a new python based GUI for the Chip Test Board

Getting started

To install all dependencies build the package with python package build. This requires that you have build installed. We recommend using a virtual conda environment.

git clone https://github.com/slsdetectorgroup/pyctbgui.git
cd pyctbgui
python -m build 
pip install dist/pyctbgui-0.0.0-cp313-cp313-linux_x86_64.whl 
./CtbGui

Note that the above package installs slsdet and aare. If you want to work on your local branch add the locally build python modules first to your PYTHONPATH.

Format Code

To check python code is formatted correctly according to style guides in pyproject.toml run (requires yapf to be installed.):

yapf --style pyproject.toml -r -d tests pyctbgui *.py

To format inplace using style in pyproject.toml run:

yapf --style pyproject.toml -m -r -i tests pyctbgui *.py

Run Tests:

The following command runs the unit tests (Requires pytestto be installed):

	python -m pytest -v tests/unit

The following command runs end to end tests:

	python -m pytest -v tests/gui

setup pre-commit hooks

pre-commit install