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. tiles, segments, pixel matrices, etc.) such as CSPAD need in pixel geometry calibration parameters. There are many separate scripts based on in 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 takes care 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 tools such as Dark, Gain, Geometry calibration, ROI mask editor, File manager, etc. (not necessarily all of them are implemented),
  • issue necessary commands to OS operation system or submit jobs in batch to perform calibration 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.

Users' Interface

 

 

Implementation details

Calibration Management Tool User Interface (UI) of the Calibration Management Tool is implemented in Python using standard external packages PyQt4, matplotlib, etc. and packages from offline software release (starting from ana-0.10.10):

  • CalibManager - most of User Interface (UI) modules and implementation of the launching command calibman
  • PyCSPadImage - image processing modules for CSPAD,
  • CSPadPixCoords - C++ psana modules for CSPAD data access,
  • ImgAlgos - C++ psanamodules for calibration in batch jobs,
  • CorAna - modules for Mask Editor,
  • etc.

 

Users' Interface

other packages.  Main window of the UI shows up at start of calibman applicationof the Calibration Management Tool is launched by the command calibman. 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.

...