Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sioan Zohar requested GUI application which allows to select a list of sources for experiment/run.

Code location

 

 

 

 

 

 

The main class and examples of how to use it in code is in

...

See: https://github.com/lcls-psana/expmon

Setup environment

 

 

 

In any directory on psana node which has access to data use command

...

Code Block
source conda_setup --reldir /reg/neh/home/dubrovin/LCLS/con-ana-sioan

 

- you need in my local release directory is needed until new release > ana-1.3.9 is generated.

 

In case If conda_setup does not work, then first use command

Code Block
source /reg/g/psdm/bin/conda_setup

 

Run test

 

Code Block
python /reg/neh/home/dubrovin/LCLS/con-ana-sioan/expmon/examples/ex_select_sources.py 1
...
python /reg/neh/home/dubrovin/LCLS/con-ana-sioan/expmon/examples/ex_select_sources.py 6

 

where additional parameter selects between different tests as follows.

...

application opens a window with GUI (left plot) which helps to select instrument, experiment, and run. When instrument, experiment, and run selected the list of detector sources and epics variables shows up as a check-list (right plot). Click on check-boxes of sources and close the window. 

After closing the window the list of selected sources is saved in the file with other configuration parameters printed and on terminal:

...