Skip to content

[PNCCD][CORRECT] Fix: Hack to wrong ctrl bias voltage values p002857

Karim Ahmed requested to merge fix/hack_for_proposal_2857 into master

Description

pnCCD data for proposal 2857 was acquired with the wrong operation mode. The bias voltage value is set to 0. This can only happen in operation mode CANEX, used only for testing the electronics. The operation mode is not stored in the control data to check if this was the case or if the voltage was held with a 0 value for another reason.

This MR creates a hack specific only for proposal 2857 to remove voltage values from conditions. As the correction fails for this proposal because the constants corresponding with this RAW data was injected with no bias voltage https://in.xfel.eu/calibration/calibration_constants/19866#condition

There is another MR for cal_db_interactive to enable injecting conditions with 0 values to reduce the inconsistency between calcat_interface and cal_db_remote until we stop using cal_db_interactive for injection. https://git.xfel.eu/detectors/cal_db_interactive/-/merge_requests/87

How Has This Been Tested?

Running notebook interactively for the proposal and run of this report /gpfs/exfel/exp/SQS/202201/p002857/usr/Reports/r250/SQS_NQS_PNCCD1MP_correct_002857_r250_230424_134500.pdf

Relevant Documents (optional)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • Add cal_db_interactive tag 2.4.1 to setup.py

Reviewers

@schmidtp

Edited by Karim Ahmed

Merge request reports