feat[Jungfrau][Dark]: use CalibrationData to retrieve prior CCVs
Compare changes
Files
1- Karim Ahmed authored
This MR update Jungfrau Darks to use CalibrationData API in retrieving prior CCV using the begin_at_strategy. This MR is related to this issue as well: https://git.xfel.eu/calibration/planning/-/issues/200
In trying to reduce the unrelated diff from the Injection of CCVs at !1022 (merged) I have moved these changes to this MR.
Changes:
get_dir_creation_date
, like the rest of the notebooks.get_full_path
methodbegin_at_strategy
argument. I am using strings. Another solution is to use enums, however, I felt it is not needed for two strings only.get_from_db
with CalibrationData
API and x.from_condition()
h5path
key to dataset
to match names used in CalCatAPI and CalCatJUNGFRAUConditions
from extra to calcat_interface2Note: Later after reviewing this MR, I plan on updating extra.CalibrationData.