Skip to main content

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.

https://github.com/lavue-org/lavue/blob/develop/doc/_images/lavue.png?raw=true

Installation

LaVue requires the following python packages: 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 buster and stretch or Ubuntu focal, eoan, bionic packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ wget -q -O - http://repos.pni-hdri.de/debian_repo.pub.gpg | apt-key add -

and then download the corresponding source list, e.g.

$ cd /etc/apt/sources.list.d

and

$ wget http://repos.pni-hdri.de/buster-pni-hdri.list

or

$ wget http://repos.pni-hdri.de/stretch-pni-hdri.list

or

$ wget http://repos.pni-hdri.de/focal-pni-hdri.list

respectively.

Finally,

$ apt-get update
$ apt-get install python-lavue
$ apt-get install lavue-controller
$ apt-get update
$ apt-get install python3-lavue
$ apt-get install lavue-controller3

for python 3 version. Please notice that HiDRA is not available for python 3 yet.

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 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

for python 2.7 or

$ lavue3

for python 3.

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

LavueController Tango Server API: https://lavue-org.github.io/lavue/doc_html

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

lavue-2.54.2.tar.gz (18.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lavue-2.54.2-py3-none-any.whl (9.6 MB view details)

Uploaded Python 3

File details

Details for the file lavue-2.54.2.tar.gz.

File metadata

  • Download URL: lavue-2.54.2.tar.gz
  • Upload date:
  • Size: 18.8 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

Hashes for lavue-2.54.2.tar.gz
Algorithm Hash digest
SHA256 96fc666fe587f974966bff14c5916aee732eb11b8f6899f0c3c26b70c18f4ff2
MD5 7db80e03f9315b2693f6931c7b9ac82f
BLAKE2b-256 ab2a9a023fa52f239d98d730617b8575e9a5940243df939e80e64555cd480b6a

See more details on using hashes here.

File details

Details for the file lavue-2.54.2-py3-none-any.whl.

File metadata

  • Download URL: lavue-2.54.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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

Hashes for lavue-2.54.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4301c7480ca6729b2a5e36fe535d9431a0b9b3a9f157463913b7ed99f1e58823
MD5 038ad7c9658d8601a623cb9688511f88
BLAKE2b-256 e54266f707bef4c072bf203c22811f712886c587a5ea67b95bce355f999ab371

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page