Skip to content

[PNCCD][CORRECT] Using calcat interface

Karim Ahmed requested to merge feat/pnccd_calcat_interface into master

Update correct notebooks for PNCCD to use new CALCAT interface.

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

Description

notebooks/pnCCD/pnCCD_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/pnCCD/Correct_pnCCD_NBC.ipynb:

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

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

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

Checklist:

  • Test against reference runs after calibration client is updated.

Reviewers

@kluyvert @schmidtp

Edited by Karim Ahmed

Merge request reports