You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Content

Intro

In April 2021 we introduce a new approach to dark processing for Jungfrau detectors. This approach is pretty much similar to epix10ka dark calibration. Entire dark calibration is split for two stages. At first stage specialized dark runs for three gain modes or "drop-shots" for regular runs are processed per-panel and results are saved in the repository also per panel. At second stage, per-panel constants are merged for particular detector or set of panels (for DRP) and deployed in the regular calibration directory.

Repository organization

  • /reg/g/psdm/detector/gains/jungfrau/panels/     # repository for jungfrau per-panel constants
    • 190408-181206-50c246df50010d/         # e.g. -  for one of the panel ids
      • rms/                                                   # subdirectory for calibration constant's type
      • status/
      • dark_max/
      • dark_min/
      • pedestals/ 
        • jungfrau_0001_20201201073354_cxilu9218_r0230_pedestals_gm0-Normal.dat             # e.g. - panel constants for gain mode 0: Normal
          jungfrau_0001_20201201073425_cxilu9218_r0231_pedestals_gm1-ForcedGain1.dat
          jungfrau_0001_20201201073453_cxilu9218_r0232_pedestals_gm2-ForcedGain2.dat
          jungfrau_0001_20201201085333_cxilu9218_r0238_pedestals_gm0-Normal.dat
          jungfrau_0001_20201201085333_cxilu9218_r0238_pedestals.txt                                     # e.g. - per-panel. constants merged for three gain modes valid for runs >=238
    • merge_tmp/
      • CxiDs1.0:Jungfrau.0-20201201085333-cxilu9218-r0238-pedestals.txt                                     # merged constants for detector in run 238
    • logs/
      • 2021_log_jungfrau_dark_proc.txt                                                                                                      # log files with single record per job for each script
        2021_log_jungfrau_deploy_constants.txt
      • 2021/                                                                                                                                                    # anual directory for job submission commands 
        • 2021-04-23T142354_log_jungfrau_dark_proc_dubrovin.txt                                              # log file for each job
          2021-04-23T154102_log_jungfrau_deploy_constants_dubrovin.txt

Calibration file naming conventions

File name example: jungfrau_0001_20201201073354_cxilu9218_r0230_pedestals_gm0-Normal.dat

Fields meaning: <panel-type>_<panel-unique-numeric-alias>_<run-time-stamp>_<experiment>_r<run-number>_<constants-type>_gm<gain-mode-index-and-name>.dat

Log file naming conventions

File name example: 2021-04-23T142354_log_jungfrau_dark_proc_dubrovin.txt 

Fields meaning: <job-submission-time-stamp>_<script-name>_<login-name>.txt

Dark processing

jungfrau_dark_processing

Proceses jungfrau dark data

jungfrau_dark_proc -d <dataset> -s <source> ...
Ex.1: jungfrau_dark_proc -d exp=cxilu9218:run=242,243,244:smd -s CxiDs1.0:Jungfrau.0 # regular dark processing
Ex.2: jungfrau_dark_proc -d exp=cxilu9218:run=242,243,244:smd -s CxiDs1.0:Jungfrau.0 -I1 # speed-up for single panel
Ex.3: jungfrau_dark_proc -d exp=cxilu9218:run=238:smd -s CxiDs1.0:Jungfrau.0 --evcode 162 # use drop-shots as dark events

Help: jungfrau_dark_proc -h

Merging and deployment of constants

jungfrau_merge_constants

Deployment jungfrau calibration parameters

jungfrau_deploy_constants -e <experiment> -d <detector> -r <run-number> [-D] [-L <logging-mode>] [...]

TEST COMMAND:
Ex.1: jungfrau_deploy_constants -e cxilu9218 -d CxiDs1.0:Jungfrau.0 -r238
Ex.2: jungfrau_deploy_constants -e cxilu9218 -d CxiDs1.0:Jungfrau.0 -r238 -D -c ./calib

REGULAR COMMAND:
Ex.3: jungfrau_deploy_constants -e cxilu9218 -d CxiDs1.0:Jungfrau.0 -r238 -D

Help: jungfrau_deploy_constants -h

References

  • No labels