Skip to content

[JUNGFRAU][CORRECT] Using calcat interface

Karim Ahmed requested to merge feat/jungfrau_calcat_interface into master

Start using calcat interface with Jungfrau correction.

Related to https://git.xfel.eu/calibration/planning/-/issues/150

Description

notebooks/Jungfrau/Jungfrau_retrieve_constants_precorrection_NBC.ipynb:

  • Retrieve all constants in one go and validate the availability for the constants and raise Error/Warning accordingly.
  • Updating the YAML metadata keys based on the attributes in the CalibrationData metadata object.

notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb:

  • Using calcat interface to retrieve constants if YAML is not available.

How Has This Been Tested?

Tested against the reference test runs.

Relevant Documents (optional)

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

- [ ] update setup.py with extra_geom release of this change https://github.com/European-XFEL/EXtra-geom/pull/198 - [ ] update setup.py with extra_data release of this change https://github.com/European-XFEL/EXtra-data/pull/379

Reviewers

@kluyvert @schmidtp

Edited by Karim Ahmed

Merge request reports