Authors: Christoph Rosemann <christoph.rosemann at desy.de>, Jan Kotański <jan.kotanski at desy.de>, André Rothkirch <andre.rothkirch at desy.de>
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.
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
Download the latest LaVue version from https://github.com/lavue-org/lavue
Extract sources and run
$ python setup.py installThe setup.py script may need: setuptools sphinx numpy pytest python packages as well as qtbase5-dev-tools or libqt4-dev-bin.
Debian trixie, bookworm, bullseye, or Ubuntu questing, noble, jammy 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.gpgand then download the corresponding source list, e.g.
$ cd /etc/apt/sources.list.dand
$ wget http://repos.pni-hdri.de/trixie-pni-hdri.sourcesor
$ wget http://repos.pni-hdri.de/bookworm-pni-hdri.listor
$ wget http://repos.pni-hdri.de/noble-pni-hdri.listor
$ wget http://repos.pni-hdri.de/jammy-pni-hdri.listrespectively.
Finally,
$ apt-get update
$ apt-get install python3-lavue
$ apt-get install lavue-controlleror
$ apt-get install lavue-controller3for python 3 version (for older debian/ubuntu releases).
To install it from pip you need to install pyqt5 in advance, e.g.
$ python3 -m venv myvenv
$ . myvenv/bin/activate
$ pip install PyQtWebKitor
$ pip install pyqt5or
$ pip install PyQt5==5.14and then
$ pip install lavueMoreover it is also good to install the following python packages:
$ pip install fabio
$ pip install pillow
$ pip install pyFAI
$ pip install lavuefilters
$ pip install pytangoTo start LaVue
$ lavueor
$ lavue3for python 3 version (for older debian/ubuntu releases).
Changing LaVue settings is available in the expert mode, i.e.
$ lavue -m expertunder an additional button: Configuration.
To get all possible command-line parameters
$ lavue -hMore information can be found at: LaVue
LavueController Tango Server API: https://lavue-org.github.io/lavue/stable/doc_html