From 6ec9532b8eee36c1e8a6f80663784251ea448d89 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Tue, 13 Apr 2021 21:15:02 +0200 Subject: [PATCH] disable rel_gain with fixed gain and remove unused parameter --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 3 ++- notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 27de08239..af5b49bd4 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -209,7 +209,8 @@ " \"force_hg_if_below\",\n", " \"force_mg_if_below\",\n", " \"low_medium_gap\",\n", - " \"melt_snow\"\n", + " \"melt_snow\",\n", + " \"rel_gain\"\n", "]" ] }, diff --git a/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb b/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb index b92a901a9..c081527a5 100644 --- a/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb +++ b/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb @@ -339,7 +339,6 @@ "for module_index, k_da in zip(modules, karabo_da):\n", " qm = tools.module_index_to_qm(module_index)\n", " if qm in mapped_files and not mapped_files[qm].empty():\n", - " device = getattr(getattr(Detectors, dinstance), qm)\n", " # TODO: make map_modules_from_folder just return list(s)\n", " qm_files = [Path(mapped_files[qm].get()) for _ in range(mapped_files[qm].qsize())]\n", " else:\n", -- GitLab