Live image viewer application for photon science detectors.
Project description
Authors: Christoph Rosemann <christoph.rosemann at desy.de>, Jan Kotański <jan.kotanski at desy.de>, André Rothkirch <andre.rothkirch at desy.de>
Introduction
This is a simple implementation of a live viewer front end. It is supposed to show a live image view from xray-detectors at PETRA3 @ desy.de, e.g. Pilatus, Lambda, Eiger, PerkinElmer, PCO, LimaCCD, and others.
Installation
LaVue requires the following python packages: qt5/qt4 pyqtgraph numpy zmq scipy
It is also recommended to install: pytango hidra pil fabio requests h5py pni nxstools
From sources
Download the latest LaVue version from https://github.com/lavue-org/lavue
Extract sources and run
$ python setup.py install
The setup.py script may need: setuptools sphinx numpy pytest python packages as well as qtbase5-dev-tools or libqt4-dev-bin.
Debian packages
Debian bookworm, bullseye, buster or Ubuntu noble, jammy, oracular packages can be found in the HDRI repository.
To install the debian packages, add the PGP repository key
$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg
and then download the corresponding source list, e.g.
$ cd /etc/apt/sources.list.d
and
$ wget http://repos.pni-hdri.de/bookworm-pni-hdri.list
or
$ wget http://repos.pni-hdri.de/bullseye-pni-hdri.list
or
$ wget http://repos.pni-hdri.de/noble-pni-hdri.list
or
$ wget http://repos.pni-hdri.de/jammy-pni-hdri.list
respectively.
Finally,
$ apt-get update
$ apt-get install python3-lavue
$ apt-get install lavue-controller
or
$ apt-get install lavue-controller3
for python 3 version (for older debian/ubuntu releases).
From pip
To install it from pip you need to install pyqt5 in advance, e.g.
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install PyQtWebKit
or
$ pip install pyqt5
or
$ pip install PyQt5==5.14
and then
$ pip install lavue
Moreover it is also good to install the following python packages:
$ pip install fabio
$ pip install pillow
$ pip install pyFAI
$ pip install lavuefilters
$ pip install pytango
Start the Viewer
To start LaVue
$ lavue
or
$ lavue3
for python 3 version (for older debian/ubuntu releases).
Start the Viewer in the expert mode
Changing LaVue settings is available in the expert mode, i.e.
$ lavue -m expert
under an additional button: Configuration.
Launching options
To get all possible command-line parameters
$ lavue -h
Further reading
More information can be found at: LaVue
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lavue-2.90.2.tar.gz
.
File metadata
- Download URL: lavue-2.90.2.tar.gz
- Upload date:
- Size: 32.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b72c70f8c91c609ed479bcce036f4b15e33b2ba4db4d3244769f5d4c17055b11 |
|
MD5 | 1d9706af10eed58a9c45128bef1dd591 |
|
BLAKE2b-256 | 2e30ff023b9a5c912cee85c69a5aee04d504ed285667ab71a872541e24cdb00e |
File details
Details for the file lavue-2.90.2-py3-none-any.whl
.
File metadata
- Download URL: lavue-2.90.2-py3-none-any.whl
- Upload date:
- Size: 11.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ff18bfc9c59e051df9e2c84037460b707ecd26eed6ae029badef399a56d292 |
|
MD5 | e1d67763e34c83a53153503a3e0cb78a |
|
BLAKE2b-256 | 8ba42204041e95a85c49ba5f6e56f75fddf7fd62ec5b8ed2a1230cffa48830b9 |