Skip to content

[AGIPD][CORRECT] Use calcat_interface and remove precorrection notebook

Karim Ahmed requested to merge AGIPD_calcat_interface into master

Description

Updating AGIPD correction notebooks for using calcat_interface and avoiding calibrationDBRemote and cal_db_interactive

Note: This MR is based on https://git.xfel.eu/detectors/pycalibration/-/merge_requests/773

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

  1. Remove notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb
  2. Remove cal_tools/agipdlib functions for loading constants from YAML or DB. Also, remove related tests.
  3. Move to retrieve and initialize constants to the AGIPD correction notebook.
  4. Use a new feature for displaying the markdown table for retrieved constants.
  5. Fix a bug when displaying one retrieved constant in CalibrationData metadata object.
  6. Use a fragment file to store retrieved constants.
  7. Clean-ups around related code.

How Has This Been Tested?

  • Testing..

Relevant Documents (optional)

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@schmidtp @kluyvert

Edited by Karim Ahmed

Merge request reports