Versions Compared

Key

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

...

Calibration Management Tool is intended to help in population of the calibration database. Most of imaging devices need in intensity corrections such as dark rate subtraction, per-pixel gain factor, masking of bad pixels etc. Some of imaging devices composed of separate sensors (a.k.a. pixel matrices, tiles, segments, pixel matrices, etc.) such as CSPAD need in pixel geometry calibration parameters. There are many separate scripts based on python, psana framework, etc. which allow to get calibration files for different imaging devices. However, it is not easy to set correct parameters in order to run these scripts. One has to be careful in selection of input experiment name, run number, device name(s), to set correct chain of processing algorithms, and finally define the correct destination path for calibration files. Calibration Management Tool greatly simplify this task. It is designed to integrate access to many separate scripts under single Graphical User Interface (GUI), it knows about all possible variables and names, which can be selected from drop down menus, it helps to perform calibration and deploy calibration files in correct final directory with correct names.

...

  • helps to select and set instrument, experiment, and detector(s) which need to be calibrated,
  • easy switch between different calibration or service tools such as Dark calibration, Gain factor calibration, Geometry calibration, ROI mask editor, File manager, etc. (not necessarily all of them are implemented),
  • issue necessary commands to OS or submit jobs in batch to perform calibration algorithmson algorithms on data and get files with calibration parameters,
  • perform control and monitoring of the batch jobs,
  • perform monitoring of the calibration file quality,
  • deploy obtained or available calibration files in right sub-directories under /reg/d/psdm/<instrument>/<experiment>/calib/ with right names associated with a run range.

...

User Interface (UI) of the Calibration Management Tool is implemented in Python using PyQt4, matplotlib, and other packages.  Main window of the 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 (if this option is elected in configuration parameters). For example, UI with  Dark  tool is shown below.

Image Added

Main window of UI consists of 3 three panels from top to bottom:

...

and the title of the Detector button shows how many detectors were are selected. For File Manager tool only one detector should be selected.

...

Status panel shows up in a few applications such as Dark, File Manager, etc. on the top of application space. In most cases it shows content of the calibration directory for specified list of detectors. For each calibration file its effective run range is shown next right  to its name. The effective run range is presented by two numbers, begin run and end run of the range. Run ranges may overlap for different files. If this happens, files from bottom side have higher priority.

 

Anchor
Tab-bar
Tab-bar

Tab-bar for tool selection

Tab-bar allows to switch between different applications. Completely implemented applications under tabs:

Anchor
Dark
Dark

Dark

This tool is intended to produce calibration files for pedestals (dark level)  from dark runs and deploy them in correct place in calibration directory. In parallel hot pixel masks are produced and can be also deployed.

...

Anchor
File Manager
File Manager

File Manager

 

 

Anchor
Configuration
Configuration

Configuration

Configuration table has its own tab bar switching between panels with set of parameters.

Image Added

Two panels are implemented currently

Anchor
Configuration Parameters
Configuration Parameters

Configuration Parameters

...

 

Anchor
Configuration File
Configuration File

 Image Removed

Configuration

...

File

Confirmation windows

There is a bunch of confirmation popup windows with modal-style dialog. Appropriate selection need to be done by clicking on possible continuation buttons.

...