Skip to content

[MAPPING][DARK][INJECT] PT2 Update injecting functions and Dark notebooks

Karim Ahmed requested to merge feat/v2_mapping_pt2_inject_and_darks into master

Summary:

Previously we were using the information about the physical detector units (PDUs) to inject the new generated calibration constant versions (CCVs). With the new detector mapping, PDU will still be used from a different source than the stored device metadata from cal_db_interactive.

db_module is the used term for Physical Detector Unit in pyCalibration. db_module will be retrieved if it was not given through myMDC or calibration_configurations in the nb's 1st Cell.

Then it will be used in sending constants to the database and storing them locally.

  1. I have updated the main pyCalibration wrapper functions @tools.py that are used to inject CCVs
  2. I have also updated the main dark notebooks for all 8 detectors (AGIPD, LPD, DSSC, Epix10K, Epix100, pnCCD, JungFrau, and FastCCD) and AGIPD's PC 3- Added report_path as a new sent metadata.

This merge request is connected to:

  1. https://git.xfel.eu/gitlab/detectors/cal_db_interactive/merge_requests/58
  2. https://git.xfel.eu/gitlab/detectors/cal_db_interactive/merge_requests/59
  3. https://git.xfel.eu/gitlab/detectors/cal_db_interactive/merge_requests/60
  4. https://git.xfel.eu/gitlab/detectors/pycalibration/merge_requests/413

Tests:

  • More tests are in progress

Reviewers:

@danilevc @hammerd @roscar

Note: This MR will be rebased on multiple MR's waiting for review.

Edited by Robert Rosca

Merge request reports