Skip to content

[LPD][CORRECT] Using CALCAT interface

Karim Ahmed requested to merge feat/LPD_calcat_interface into master

Start using calcat interface with LPD

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

Description

notebooks/LPD/LPD_retrieve_constants_precorrection.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/LPD/LPD_Correct_Fast.ipynb:

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

How Has This Been Tested?

Tested against reference runs. The validation against reference runs failed. Because this MR has a fix of getting the correct constant based on the correct PDU mapping. Unlike before, which was using the latest mapping. with no snapshots.

Relevant Documents (optional)

Types of changes

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

Checklist:

Reviewers

@kluyvert @schmidtp

Edited by Karim Ahmed

Merge request reports