From 4eecd152d94ee0ab6d4b5bb49ecea72f4491718d Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Mon, 30 Aug 2021 22:54:46 +0200 Subject: [PATCH] AGIPD CORRECT read acq_rate from slow data --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 0d9de779b..2c7bfd749 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -338,9 +338,12 @@ "mem_cells_db = mem_cells if mem_cells_db == 0 else mem_cells_db\n", "max_cells = mem_cells if max_cells == 0 else max_cells\n", "\n", + "fast_paths = (filename, karabo_id, channel)\n", + "slow_paths = (control_fn, karabo_id_control)\n", + "\n", "# Evaluate aquisition rate\n", "if acq_rate == 0:\n", - " acq_rate = get_acq_rate((filename, karabo_id, channel))\n", + " acq_rate = get_acq_rate(fast_paths, slow_paths)\n", "\n", "print(f\"Maximum memory cells to calibrate: {max_cells}\")" ] -- GitLab