Versions Compared

Key

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

...

Note

Parameters of this panel must be set before any other actions with Calibration Manager.

 

 

Anchor
Logbook
Logbook
Log-book panel

Log-book panel is located in the bottom of the main window. It is intended as a global information panel in order to minimize a number of specific information fields. Records and messages at variation of status or information buttons are posted in this panel. At the end of each session content of this panel is saved in the log-file in the work directory.

Anchor
Status panel
Status panel
Status panel

Status panel shows up in some of applications 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. 

...

  • Dark
  • ROI
  • File Manager
  • Configuration

Dark

Dark panel is activated after click on Dark tab. It consists of

Control bar

Control bar contains

  • buttons for list of runs filter by the run type and detector type and
  • check box for deployment of the hot pixel mask in parallel with averaged dark

List of run items

List of run items contains

  • button with triangle sign to switch between "regular" and "expert" mode of the run item,
  • run number
  • two fields to set run validity range for output calibration file
  • button Go - submits job in batch for evaluation of pedestals and hot pixel mask
  • button Deploy - shows up when butch job is completed successfully and all files for deployment are available.

Expert mode contains more information buttons for each run item

  • xtc Files - prints in the Log book panel the list of available xtc files,
  • Sources DB - prints in the Log book panel the list of available data sources found in DB,
  • Sources XTC - prints in the Log book panel the list of available data sources found at the xtc file scan,
  • O/Files - prints in the Log book panel the list of files associated with dark run processing and their current status,
  • Show cmd - prints in the Log book panel the list of deployment commands, and
  • More options check box - if it is marked then more buttons show up:
  • View - launch text-file viewer and
    Image Modified
  • Plot - plots
    Image Modified

 

ROI

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 UI in separate window.

Image Added

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.

Image Removed

 

File Manager

Configuration

...

Parameters

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.

 

 

Project status

Current status corresponds to:

Code Block
relinfo

...


Pkg/Rel       TEST    BASE(ana-0.10.10)

...


CalibManager  HEAD   V00-00-

...

10

Completely implemented applications under tabs:

  • 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 the local release directory. Login to psana, then run use commands with appropriate substitutions for <...> fields:

Code Block
cd <your-favorite-test-directory>;
newrel ana-current test-CalibManager;
cd test-CalibManager;
sit_setup;
addpkg CalibManager HEAD;
addpkg <package2> HEAD;
addpkg <package3> 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!

 

 

Known problems and ways around

World is not perfect. Anything may happen during this long workflow. Expert mode sheds light on most of the problems. Here is a list of most frequent problems;

...