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/jkotan/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/jkotan/lavue

Extract sources and run

$ python setup.py install

The setup.py script may need: setuptools sphinx numpy pytest python packages as well as libqt4-dev-bin.

Debian packages

Debian stretch (and jessie) ot Ubuntu 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/stretch-pni-hdri.list

or

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

or

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

respectively.

Finally,

$ apt-get update
$ apt-get install python-lavue

for python 2.7 version

$ apt-get update
$ apt-get install python3-lavue

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

$ pip install lavue

Moreover it is also good to install the following python packages:

$ pip install fabio
$ pip install pillow
$ 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

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.18.1.tar.gz (296.5 kB view details)

Uploaded Source

Built Distribution

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

lavue-2.18.1-py3-none-any.whl (329.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lavue-2.18.1.tar.gz
  • Upload date:
  • Size: 296.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/33.1.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.3

File hashes

Hashes for lavue-2.18.1.tar.gz
Algorithm Hash digest
SHA256 804d49434081ce2f0f4378f5b83eea887d803f3899c02e61c7239bf756468617
MD5 f35c757d40e8de8d517443b7e6350383
BLAKE2b-256 7e7af44d5d554ea6acd293d8eb1a63bf7278bd7690d9a93898e3ab2045001b1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lavue-2.18.1-py3-none-any.whl
  • Upload date:
  • Size: 329.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/33.1.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.3

File hashes

Hashes for lavue-2.18.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab056e6c27f3338eb48264e2c175fa839f6adcf23852832c9229f075a2bad422
MD5 1d2aea1570e21bce3f770911e7e38d7f
BLAKE2b-256 3cf008718b44773915330fef3dd77b912b759c2cfc8976d4e59991427b51bc0e

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