Skip to content
Snippets Groups Projects

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

Merged Karim Ahmed requested to merge AGIPD_calcat_interface into master
2 files
+ 2
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -1338,7+1338,7 @@
return
def initialize_from_yaml(
self, karabo_da: str, const_yaml: Dict[str, Any], module_idx: int
) -> Dict[str, Any]:
"""Initialize calibration constants from a yaml file
@@ -1486,7+1486,7 @@
missing_gain_constants = set(
c for c in gain_constants if c not in metadata[karabo_da].keys())
if missing_dark_constants:
warning(
raise KeyError(
f"Dark constants {missing_dark_constants} are not available"
f" for correction. Module: {karabo_da}")
if missing_gain_constants:
Loading