[Jungfrau][Correct][Dark] New Settings and gain mode enums to read the jungfrau correct parameters.
This MR is corresponding to this issue https://git.xfel.eu/calibration/planning/-/issues/143
Description
As there's a new software version for Jungfrau. These are needed changes to differentiate between old and new RAW data and read the correct gain_setting
and gain_mode
from the RUN source
- Adding new Jungfrau settings and gain mode enums.
- Using enum meta to be able to check, to which enum the run
settings.value
belong. - New
_get_gain_mode_x
functions based on the availability of thegainMode
key. - Updating the dark notebook with the new ENUMs as it validates the value for the gain modes of the 3 runs.
- Updating the correction notebook with the extra return from get_gain_mode function.
- New bias voltage key as well in the new software
How Has This Been Tested?
-
To be tested on the reference runs + the new JF version runs.
Relevant Documents (optional)
Types of changes
- New feature (non-breaking change which adds functionality)
Checklist:
Reviewers
Edited by Karim Ahmed