From 901e0aff9365c27928c96a3dfda4ec8b50f703b7 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Tue, 7 Nov 2023 22:41:33 +0100 Subject: [PATCH] use the correct memory cell variable --- .../Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 6948af130..80b993c7a 100644 --- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb +++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb @@ -183,13 +183,12 @@ " print(f\"Gain mode is {gain_mode} ({ctrl_data.run_mode})\")\n", " # JF corrections in burst mode are only supported when no gain switching occurs.\n", " # Always retrieve fixed gain constant for burst mode.\n", - " if gain_mode == 0 and mem_cells > 1:\n", + " if gain_mode == 0 and memory_cells > 1:\n", " print(\"By default fixed gain constant will be retrieved for burst mode data,\"\n", " \" even for dynamic gain data.\")\n", " gain_mode = 1\n", "else:\n", - " print(f\"Gain mode is manually set to {gain_mode}.\")\n", - "\n" + " print(f\"Gain mode is manually set to {gain_mode}.\")" ] }, { -- GitLab