From b52a29c94f6cfbfadcce71a5fc0a551c0a71da62 Mon Sep 17 00:00:00 2001
From: karnem <mikhail.karnevskiy@desy.de>
Date: Fri, 12 Jul 2019 09:27:08 +0200
Subject: [PATCH] fix function name

---
 notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb | 6 +++---
 notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb     | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb b/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb
index 6d74ac1ef..22ace03e5 100644
--- a/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb
+++ b/notebooks/AGIPD/PlotFromCalDB_AGIPD_NBC.ipynb
@@ -36,7 +36,7 @@
     "mem_cells = [128, 176]  # Number of used memory cells. Typically: 4,32,64,128,176.\n",
     "photon_energy = 9.2  # Photon energy of the beam\n",
     "out_folder = \"/gpfs/exfel/data/scratch/karnem/testAGIPD16_10/\"  # Output folder, required\n",
-    "use_existing = \"\" # Input folder\n",
+    "use_existing = \"/gpfs/exfel/data/scratch/karnem/testAGIPD16_10/\" # Input folder\n",
     "cal_db_timeout = 1200000 # timeout on caldb requests\",\n",
     "detectorDB = \"AGIPD1M1\"  # detector entry in the DB to investigate\n",
     "dclass = \"AGIPD\"  # Detector class\n",
@@ -599,7 +599,7 @@
     "                    const, mod, gain_name[gain], keys[key][1])\n",
     "                cb_label = '{}, {} {}'.format(const, keys[key][2], unit)\n",
     "\n",
-    "                HMCombine(pdata[key][::-1],\n",
+    "                hm_combine(pdata[key][::-1],\n",
     "                          x_label='Creation Time', y_label='ASIC ID',\n",
     "                          x_ticklabels=ctimes_ticks,\n",
     "                          x_ticks=np.arange(len(ctimes_ticks))+0.3,\n",
@@ -611,7 +611,7 @@
     "                          y_ticklabels=np.arange(nPixels)[::-1]+1,\n",
     "                          pad=[0.125, 0.125, 0.12, 0.185])\n",
     "\n",
-    "                HMCombine(adata[key], type=0,\n",
+    "                hm_combine(adata[key], type=0,\n",
     "                          x_label='Creation Time', y_label='Memory cell ID',\n",
     "                          x_ticklabels=ctimes_ticks,\n",
     "                          x_ticks=np.arange(len(ctimes_ticks))+0.3,\n",
diff --git a/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb b/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb
index 63fb41601..f70f91365 100644
--- a/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb
+++ b/notebooks/LPD/PlotFromCalDB_LPD_NBC.ipynb
@@ -35,8 +35,8 @@
     "bias_voltages = [250, 500]  # Bias voltage\n",
     "mem_cells = [1, 128, 256, 512]  # Number of used memory cells. Typically: 4,32,64,128,176.\n",
     "photon_energy = 9.2  # Photon energy of the beam\n",
-    "out_folder = \"/gpfs/exfel/data/scratch/karnem/testLPD_15/\"  # Output folder, required\n",
-    "use_existing = \"/gpfs/exfel/data/scratch/karnem/testLPD_16/\" # Input folder\n",
+    "out_folder = \"/gpfs/exfel/data/scratch/karnem/testLPD_11/\"  # Output folder, required\n",
+    "use_existing = \"/gpfs/exfel/data/scratch/karnem/testLPD_10/\" # Input folder\n",
     "cal_db_timeout = 180000 # timeout on caldb requests\",\n",
     "detectorDB = \"LPD1M1\"  # detector entry in the DB to investigate\n",
     "dclass = \"LPD\"  # Detector class\n",
@@ -593,7 +593,7 @@
     "                    const, mod, gain_name[gain], keys[key][1])\n",
     "                cb_label = '{}, {} {}'.format(const, keys[key][2], unit)\n",
     "\n",
-    "                HMCombine(pdata[key][::-1],\n",
+    "                hm_combine(pdata[key][::-1],\n",
     "                          x_label='Creation Time', y_label='ASIC ID',\n",
     "                          x_ticklabels=ctimes_ticks,\n",
     "                          x_ticks=np.arange(len(ctimes_ticks))+0.3,\n",
@@ -605,7 +605,7 @@
     "                          y_ticklabels=np.arange(nPixels)[::-1]+1,\n",
     "                          pad=[0.125, 0.125, 0.12, 0.185])\n",
     "\n",
-    "                HMCombine(adata[key], type=0,\n",
+    "                hm_combine(adata[key], type=0,\n",
     "                          x_label='Creation Time', y_label='Memory cell ID',\n",
     "                          x_ticklabels=ctimes_ticks,\n",
     "                          x_ticks=np.arange(len(ctimes_ticks))+0.3,\n",
-- 
GitLab