From 75eb1a2139e5dcd61dd86a11ccbcdbb3d89eb269 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Mon, 5 Sep 2022 13:26:05 +0200
Subject: [PATCH] update mem_cells comment in 1st nb cell

---
 notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb   | 2 +-
 .../Jungfrau_retrieve_constants_precorrection_NBC.ipynb         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
index 3e2ef30e0..e11c6631f 100644
--- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
@@ -46,7 +46,7 @@
     "integration_time = 4.96  # integration time in us, will be overwritten by value in file\n",
     "gain_setting = 0  # 0 for dynamic gain, 1 for dynamic HG0, will be overwritten by value in file\n",
     "gain_mode = 0  # 0 for runs with dynamic gain setting, 1 for fixgain. It will be overwritten by value in file, if manual_slow_data is set to True.\n",
-    "mem_cells = 0  # leave memory cells equal 0, as it is saved in control information starting 2019.\n",
+    "mem_cells = -1  # Set mem_cells to -1 to automatically use the value stored in RAW data.\n",
     "bias_voltage = 180  # will be overwritten by value in file\n",
     "\n",
     "# Parameters for plotting\n",
diff --git a/notebooks/Jungfrau/Jungfrau_retrieve_constants_precorrection_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_retrieve_constants_precorrection_NBC.ipynb
index 4f0e4686b..3976dc318 100644
--- a/notebooks/Jungfrau/Jungfrau_retrieve_constants_precorrection_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_retrieve_constants_precorrection_NBC.ipynb
@@ -45,7 +45,7 @@
     "integration_time = 4.96  # integration time in us, will be overwritten by value in file\n",
     "gain_setting = 0  # 0 for dynamic gain, 1 for dynamic HG0, will be overwritten by value in file\n",
     "gain_mode = 0  # 0 for runs with dynamic gain setting, 1 for fixgain. It will be overwritten by value in file, if manual_slow_data is set to True.\n",
-    "mem_cells = -1  # leave memory cells equal 0, as it is saved in control information starting 2019.\n",
+    "mem_cells = -1   Set mem_cells to -1 to automatically use the value stored in RAW data.#\n",
     "bias_voltage = 180  # will be overwritten by value in file"
    ]
   },
-- 
GitLab