From 0d4884ca8689819bfa917f2ee5c177154001b6a7 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Thu, 6 May 2021 14:03:32 +0200
Subject: [PATCH] use gain_photon_energy for gain calibration constants

---
 notebooks/ePix100/Correction_ePix100_NBC.ipynb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notebooks/ePix100/Correction_ePix100_NBC.ipynb b/notebooks/ePix100/Correction_ePix100_NBC.ipynb
index 5df60c846..878edb18e 100644
--- a/notebooks/ePix100/Correction_ePix100_NBC.ipynb
+++ b/notebooks/ePix100/Correction_ePix100_NBC.ipynb
@@ -242,7 +242,7 @@
     "\n",
     "# update conditions with illuminated conditins.\n",
     "cond_dict.update({\n",
-    "        \"photon_energy\": photon_energy\n",
+    "        \"photon_energy\": gain_photon_energy\n",
     "    })\n",
     "\n",
     "illum_condition = Conditions.Illuminated.ePix100(**cond_dict)\n",
-- 
GitLab