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
usage: lavue [-h] [-v] [-m MODE] [-y STYLE] [-e STYLESHEET] [-j INSTANCE]
[-f IMAGEFILE] [-s SOURCE] [-c CONFIGURATION] [-z] [-o MBUFFER]
[--channel CHANNEL] [-b BKGFILE] [-k MASKFILE] [-p MASKHIGHVALUE]
[-t TRANSFORMATION] [-i SCALING] [-l LEVELS] [-q AUTOFACTOR]
[-g GRADIENT] [-r VIEWRANGE] [-x] [-u TOOL] [-a TANGODEVICE]
[-d DOORDEVICE] [-n ANALYSISDEVICE]
2d detector live image viewer
optional arguments:
-h, --help show this help message and exit
-v, --version program version
-m MODE, --mode MODE interface mode, i.e. user, expert
-y STYLE, --style STYLE
Qt style
-e STYLESHEET, --stylesheet STYLESHEET
Qt stylesheet
-f IMAGEFILE, --image-file IMAGEFILE
image file name to show
-s SOURCE, --source SOURCE
image source, i.e. hidra, http, tangoattr,
tangofile, zmq, nxsfile, test
multiple-source names can be separated by semicolon ';'
-c CONFIGURATION, --configuration CONFIGURATION
configuration strings for the image source separated by comma, e.g.
hidra -> '-c haspilatus300k.desy.de'
http -> '-c haso228eiger/1.5.0'
tangoattr -> '-c sys/tg_test/1/double_image_ro'
tangofile -> '-c p00/plt/1/LastImageTaken,p00/plt/1/LastImagePath'
zmq -> '-c haso228:5535,topic'
doocsprop -> '-c TTF2.FEL/BLFW2.CAM/BL0M1.CAM/IMAGE_EXT'
nxsfile -> '-c /tmp/myfile.nxs://entry/data/pilatus'
configuration for multiple-source names can be separated by semicolon ';'
--offset OFFSET relative x,y offset for multiple-sources to the first sourceseparated by semicolon ';'
e.g.
;200,300;,54;121,3
200,300;100,
-w RANGEWINDOW, --range-window RANGEWINDOW
range window slices, i.e. x1:x2,y1:y2 , e.g. -w 10:500,20:200
where 'm' is '-'
--ds-factor DSFACTOR integer down-sampling factor
--ds-reduction DSREDUCTION
down-sampling reduction function, i.e. 'max', 'min', 'mean' or 'sum'
-z, --filters apply image filters
-o MBUFFER, --memory-buffer MBUFFER
size of memory buffer in frames
--channel CHANNEL
default channel number or 'sum', 'mean', 'rgb' or RGB channels separated by comma e.g.'0,1,3'
-b BKGFILE, --bkg-file BKGFILE
background file-name to load
-k MASKFILE, --mask-file MASKFILE
background file-name to load
-p MASKHIGHVALUE, --mask-high-value MASKHIGHVALUE
highest pixel value to show
-t TRANSFORMATION, --transformation TRANSFORMATION
image transformation, i.e.
flip-up-down, flip-left-right, transpose,
rot90, rot180, rot270, rot180+transpose
-i SCALING, --scaling SCALING
intensity scaling, i.e. sqrt, linear, log
-l LEVELS, --levels LEVELS
intensity display levels e.g. -l m20,20
where 'm' is '-'
-q AUTOFACTOR, --factor AUTOFACTOR
factor of the highest pick for automatic levels in %, e.g. -q 0.5
-g GRADIENT, --gradient GRADIENT
color gradient, i.e. grey, highcontrast, thermal, flame,
bipolar, spectrum, spectrumclip, greyclip, reversegrey, cyclic,
yellowy, inverted
-r VIEWRANGE, --range VIEWRANGE
viewbox range, i.e. xmin,ymin,xsize,ysize , e.g. -r 5.6,m60.7,543.2,444.11
where 'm' is '-'
-x, --start connect the image source
-u TOOL, --tool TOOL utility tool, i.e. intensity, roi, movemotors, meshscan,
linecut, projections, 1d-plot, angle/q, q+roi+proj
-a TANGODEVICE, --tango-device TANGODEVICE
tango device to communicated with clients during the run
-d DOORDEVICE, --door DOORDEVICE
door device to communicated with sardana during the run
-n ANALYSISDEVICE, --analysis-device ANALYSISDEVICE
tango analysis device of LambdaOnlineAnalysis to communicate with analysis clients during the run
--log LOG logging level, i.e. debug, info, warning, error, critical