Page History
...
User Interface (UI) of the Calibration Management Tool is implemented in Python using PyQt4
, matplotlib
, and other packages. Beside interactive commands to OS some jobs are submitted in batch for processing of data with psana
framework. Main window of the GUI UI shows up at start of calibman
application. Its content may be different for the first and next sessions; current session status is preserved in configuration file at exit and restored at start of the next session.
...
Application panel under ROI (Region Of Interest) tab has a minimal number of control fields, which allow to specify the file with image and open/close Mask Editor GUI UI in separate window. Then the Mask Editor works as completely independent application. The Mask Editor allows to draw on image any number of a few geometry figure types and finally generate and save positive or negative mask for loaded image.
...
There is a bunch of confirmation popup windows with modal-style dialog. Appropriate selection need to be done by clicking on possible continuation buttons.
Project status
Current status corresponds to:
...
- Dark
- ROI
- File Manager
- Configuration
How to get and run
...
calibman
Run application for current release
If there is no known recent changes in the code of the project, then it may be launched using current release (≥ ana-0.10.10) from any directory :
Code Block |
---|
cd <your-favorite-directory>;
sit_setup;
calibman; |
Get latest version, compile, and run
The latest version of this application with recent modifications for packages can be created and executed from test the local release directory.
Step 1: Get packages and compile
...
. Login to psana, then run use commands with appropriate substitutions for <...> fields:
Code Block |
---|
cd <your-favorite-test-directory> |
...
then run (or copy-and-paste) commands (valid for releases ≥ ana-0.10-9):
Code Block |
---|
; newrel ana-current test-CalibManager; cd test-CalibManager; sit_setup; addpkg CalibManager<package1-name-is-here> HEAD; scons; mkdir work; |
Step 2: Run application
Login to psexport,
Code Block |
---|
cd <your-favorite-test-directory>/test-CalibManager sit_setupaddpkg <package2-name-is-here> HEAD; scons; calibman; |
What to do next
- Set correct queue which will be used for batch jobs: click on tabs: Configuration -> Parameters, select Queue combo box.
- Click on tab Dark.
- Set Instrument, Experiment, from combo boxes and click on Select button to select Detector(s) from pop-up window.
- Set filter for runs to show using combo boxes to the right from labels Show runs and for detectors
For runs in the table, which you want to calibrate, click on button Go, relax and wait until button Deploy show-up to the right from button
Change validity range if necessary, click on Deploy button. If everything is ok, it is done!
...