Versions Compared

Key

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

...

Dark run calibration can be done with procedure calibman (since ana-0.13.18). Files can be deployed in the expected place, for example

...

for types pedestals pixel_rms  pixel_status.

Note

Runs of sxrg3715 have image every 10 sec it means that 1199 events are empty. In order to get calibration files the calibman default parameters needs to be changed.

Start calibman, click on tab "Configuration" then on tab "Parameters" and set field "end:" to 100000 and field "scan" to "2000". After that regular dark run calibration should work. Do not forget to coise the detector ANDOR.

The same trick with event numbers can be acheived in the calibrun command skeeping empty 1195 events:

calibrun -e sxrg3715 -d ANDOR -c ./calib -P -D -r 46 -n 100000 -s 1195

or

calibrun -e sxrg3715 -d ANDOR -P -D -r 46 -n 100000 -s 1195

 

Type type common_mode can be copied with parameters for mode 2 (see : Common mode correction algorithms ), for example

Code Block
2 20 20 512 0 0 0 0 0 0 0 0 0 0 0 0

Setup environment for current release ana-0.13.17

ssh psana

cd <your-any-directory>

newrel ana-current my-local-release-dir;
cd my-local-release-dir;
sit_setup;
addpkg CalibManager HEAD;
scons;

At this point your local release is built and regular session looks like:

cd my-local-release-dir;
sit_setup;
calibman;
OR: use command line calibrun in stead of GUI-based  calibman with deployment of files in local or standard place:
calibrun -e sxrg3715 -c ./calib -d ANDOR -P -D -r 46 -n 100000 -s 1195;
calibrun -e sxrg3715 -d ANDOR -P -D -r 46 -n 100000 -s 1195;

Get calibrated image

In psana Andor image can be retrieved from raw data to ndarray using module ImgAlgos.AndorImageProducer. Then it can be calibrated by the module

...