Skip to content

[Gotthard2][CORRECT] calcat interface

Karim Ahmed requested to merge gotthard2_calcat_interface into master

Start using calcat interface with Gotthard2 correction.

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

Description

notebooks/Gotthard2/Gotthard2_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/Gotthard2/Correction_Gotthard2_NBC.ipynb:

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

How Has This Been Tested?

Tested against reference runs

Relevant Documents (optional)

Types of changes

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

Checklist:

Reviewers

@schmidtp @kluyvert

Edited by Karim Ahmed

Merge request reports