Skip to content

[JUNGFRAU][CORRECT][DARK] Extend accepted detectors based on substrings of karabo_id

Karim Ahmed requested to merge fix/extend_accepted_jf_detectors_geom into master

This MR is a preparation for: https://git.xfel.eu/calibration/planning/-/issues/162

Description

This MR extends init_jungfrau_geom function to not only work with SPB_IRDA_JF4M, FXE_XAD_JF1M, and single modules. It looks for a substring (JF4M, JF1M, else a assumes 500K) to instantiate the JUNGFRAUGeometry object.

This should avoid errors when the dark and corrections are triggered for SPB_CFEL_JF1M.

How Has This Been Tested?

Running dark and correction for all Jungfrau runs in the reference runs.

Relevant Documents (optional)

Screenshot_from_2023-04-24_13-23-36

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@schmidtp @kluyvert

Edited by Karim Ahmed

Merge request reports