diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
index 051c37fd898926fef8ad341db8a748eecfbea2f6..d0c1cb0def4043d699f2989732e25ba38fded598 100644
--- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
+++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
@@ -13,7 +13,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:06.730220Z",
@@ -85,26 +85,14 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:07.086286Z",
      "start_time": "2019-02-21T11:30:06.929722Z"
     }
    },
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "Connecting to profile noDB\n",
-      "Using 2019-07-19 08:16:33.773894 as creation time\n",
-      "Working in IL Mode: False. Actual cells in use are: 0\n",
-      "Outputting to /gpfs/exfel/exp/MID/201931/p900090/proc//r0005\n",
-      "Detector in use is MID_DET_AGIPD1M-1\n"
-     ]
-    }
-   ],
+   "outputs": [],
    "source": [
     "import sys\n",
     "from collections import OrderedDict\n",
@@ -188,7 +176,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 3,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:07.263445Z",
@@ -247,7 +235,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 4,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:07.974174Z",
@@ -313,407 +301,14 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:08.870802Z",
      "start_time": "2019-02-21T11:30:08.826285Z"
     }
    },
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "Processing a total of 368 sequence files in chunks of 32\n"
-     ]
-    },
-    {
-     "data": {
-      "text/latex": [
-       "\\begin{tabular}{rlrl}\n",
-       "\\hline\n",
-       "   \\# & module   &   \\# module & file                                                                      \\\\\n",
-       "\\hline\n",
-       "   0 & Q1M1     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00000.h5 \\\\\n",
-       "   1 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00001.h5 \\\\\n",
-       "   2 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00002.h5 \\\\\n",
-       "   3 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00003.h5 \\\\\n",
-       "   4 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00004.h5 \\\\\n",
-       "   5 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00005.h5 \\\\\n",
-       "   6 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00006.h5 \\\\\n",
-       "   7 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00007.h5 \\\\\n",
-       "   8 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00008.h5 \\\\\n",
-       "   9 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00009.h5 \\\\\n",
-       "  10 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00010.h5 \\\\\n",
-       "  11 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00011.h5 \\\\\n",
-       "  12 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00012.h5 \\\\\n",
-       "  13 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00013.h5 \\\\\n",
-       "  14 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00014.h5 \\\\\n",
-       "  15 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00015.h5 \\\\\n",
-       "  16 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00016.h5 \\\\\n",
-       "  17 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00017.h5 \\\\\n",
-       "  18 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00018.h5 \\\\\n",
-       "  19 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00019.h5 \\\\\n",
-       "  20 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00020.h5 \\\\\n",
-       "  21 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00021.h5 \\\\\n",
-       "  22 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD00-S00022.h5 \\\\\n",
-       "  23 & Q1M2     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00000.h5 \\\\\n",
-       "  24 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00001.h5 \\\\\n",
-       "  25 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00002.h5 \\\\\n",
-       "  26 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00003.h5 \\\\\n",
-       "  27 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00004.h5 \\\\\n",
-       "  28 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00005.h5 \\\\\n",
-       "  29 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00006.h5 \\\\\n",
-       "  30 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00007.h5 \\\\\n",
-       "  31 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00008.h5 \\\\\n",
-       "  32 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00009.h5 \\\\\n",
-       "  33 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00010.h5 \\\\\n",
-       "  34 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00011.h5 \\\\\n",
-       "  35 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00012.h5 \\\\\n",
-       "  36 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00013.h5 \\\\\n",
-       "  37 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00014.h5 \\\\\n",
-       "  38 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00015.h5 \\\\\n",
-       "  39 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00016.h5 \\\\\n",
-       "  40 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00017.h5 \\\\\n",
-       "  41 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00018.h5 \\\\\n",
-       "  42 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00019.h5 \\\\\n",
-       "  43 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00020.h5 \\\\\n",
-       "  44 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00021.h5 \\\\\n",
-       "  45 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD01-S00022.h5 \\\\\n",
-       "  46 & Q1M3     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00000.h5 \\\\\n",
-       "  47 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00001.h5 \\\\\n",
-       "  48 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00002.h5 \\\\\n",
-       "  49 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00003.h5 \\\\\n",
-       "  50 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00004.h5 \\\\\n",
-       "  51 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00005.h5 \\\\\n",
-       "  52 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00006.h5 \\\\\n",
-       "  53 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00007.h5 \\\\\n",
-       "  54 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00008.h5 \\\\\n",
-       "  55 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00009.h5 \\\\\n",
-       "  56 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00010.h5 \\\\\n",
-       "  57 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00011.h5 \\\\\n",
-       "  58 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00012.h5 \\\\\n",
-       "  59 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00013.h5 \\\\\n",
-       "  60 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00014.h5 \\\\\n",
-       "  61 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00015.h5 \\\\\n",
-       "  62 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00016.h5 \\\\\n",
-       "  63 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00017.h5 \\\\\n",
-       "  64 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00018.h5 \\\\\n",
-       "  65 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00019.h5 \\\\\n",
-       "  66 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00020.h5 \\\\\n",
-       "  67 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00021.h5 \\\\\n",
-       "  68 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD02-S00022.h5 \\\\\n",
-       "  69 & Q1M4     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00000.h5 \\\\\n",
-       "  70 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00001.h5 \\\\\n",
-       "  71 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00002.h5 \\\\\n",
-       "  72 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00003.h5 \\\\\n",
-       "  73 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00004.h5 \\\\\n",
-       "  74 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00005.h5 \\\\\n",
-       "  75 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00006.h5 \\\\\n",
-       "  76 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00007.h5 \\\\\n",
-       "  77 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00008.h5 \\\\\n",
-       "  78 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00009.h5 \\\\\n",
-       "  79 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00010.h5 \\\\\n",
-       "  80 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00011.h5 \\\\\n",
-       "  81 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00012.h5 \\\\\n",
-       "  82 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00013.h5 \\\\\n",
-       "  83 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00014.h5 \\\\\n",
-       "  84 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00015.h5 \\\\\n",
-       "  85 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00016.h5 \\\\\n",
-       "  86 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00017.h5 \\\\\n",
-       "  87 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00018.h5 \\\\\n",
-       "  88 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00019.h5 \\\\\n",
-       "  89 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00020.h5 \\\\\n",
-       "  90 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00021.h5 \\\\\n",
-       "  91 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD03-S00022.h5 \\\\\n",
-       "  92 & Q2M1     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00000.h5 \\\\\n",
-       "  93 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00001.h5 \\\\\n",
-       "  94 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00002.h5 \\\\\n",
-       "  95 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00003.h5 \\\\\n",
-       "  96 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00004.h5 \\\\\n",
-       "  97 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00005.h5 \\\\\n",
-       "  98 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00006.h5 \\\\\n",
-       "  99 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00007.h5 \\\\\n",
-       " 100 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00008.h5 \\\\\n",
-       " 101 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00009.h5 \\\\\n",
-       " 102 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00010.h5 \\\\\n",
-       " 103 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00011.h5 \\\\\n",
-       " 104 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00012.h5 \\\\\n",
-       " 105 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00013.h5 \\\\\n",
-       " 106 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00014.h5 \\\\\n",
-       " 107 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00015.h5 \\\\\n",
-       " 108 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00016.h5 \\\\\n",
-       " 109 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00017.h5 \\\\\n",
-       " 110 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00018.h5 \\\\\n",
-       " 111 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00019.h5 \\\\\n",
-       " 112 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00020.h5 \\\\\n",
-       " 113 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00021.h5 \\\\\n",
-       " 114 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD04-S00022.h5 \\\\\n",
-       " 115 & Q2M2     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00000.h5 \\\\\n",
-       " 116 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00001.h5 \\\\\n",
-       " 117 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00002.h5 \\\\\n",
-       " 118 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00003.h5 \\\\\n",
-       " 119 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00004.h5 \\\\\n",
-       " 120 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00005.h5 \\\\\n",
-       " 121 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00006.h5 \\\\\n",
-       " 122 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00007.h5 \\\\\n",
-       " 123 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00008.h5 \\\\\n",
-       " 124 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00009.h5 \\\\\n",
-       " 125 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00010.h5 \\\\\n",
-       " 126 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00011.h5 \\\\\n",
-       " 127 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00012.h5 \\\\\n",
-       " 128 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00013.h5 \\\\\n",
-       " 129 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00014.h5 \\\\\n",
-       " 130 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00015.h5 \\\\\n",
-       " 131 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00016.h5 \\\\\n",
-       " 132 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00017.h5 \\\\\n",
-       " 133 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00018.h5 \\\\\n",
-       " 134 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00019.h5 \\\\\n",
-       " 135 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00020.h5 \\\\\n",
-       " 136 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00021.h5 \\\\\n",
-       " 137 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD05-S00022.h5 \\\\\n",
-       " 138 & Q2M3     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00000.h5 \\\\\n",
-       " 139 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00001.h5 \\\\\n",
-       " 140 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00002.h5 \\\\\n",
-       " 141 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00003.h5 \\\\\n",
-       " 142 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00004.h5 \\\\\n",
-       " 143 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00005.h5 \\\\\n",
-       " 144 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00006.h5 \\\\\n",
-       " 145 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00007.h5 \\\\\n",
-       " 146 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00008.h5 \\\\\n",
-       " 147 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00009.h5 \\\\\n",
-       " 148 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00010.h5 \\\\\n",
-       " 149 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00011.h5 \\\\\n",
-       " 150 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00012.h5 \\\\\n",
-       " 151 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00013.h5 \\\\\n",
-       " 152 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00014.h5 \\\\\n",
-       " 153 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00015.h5 \\\\\n",
-       " 154 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00016.h5 \\\\\n",
-       " 155 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00017.h5 \\\\\n",
-       " 156 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00018.h5 \\\\\n",
-       " 157 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00019.h5 \\\\\n",
-       " 158 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00020.h5 \\\\\n",
-       " 159 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00021.h5 \\\\\n",
-       " 160 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD06-S00022.h5 \\\\\n",
-       " 161 & Q2M4     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00000.h5 \\\\\n",
-       " 162 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00001.h5 \\\\\n",
-       " 163 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00002.h5 \\\\\n",
-       " 164 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00003.h5 \\\\\n",
-       " 165 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00004.h5 \\\\\n",
-       " 166 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00005.h5 \\\\\n",
-       " 167 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00006.h5 \\\\\n",
-       " 168 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00007.h5 \\\\\n",
-       " 169 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00008.h5 \\\\\n",
-       " 170 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00009.h5 \\\\\n",
-       " 171 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00010.h5 \\\\\n",
-       " 172 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00011.h5 \\\\\n",
-       " 173 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00012.h5 \\\\\n",
-       " 174 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00013.h5 \\\\\n",
-       " 175 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00014.h5 \\\\\n",
-       " 176 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00015.h5 \\\\\n",
-       " 177 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00016.h5 \\\\\n",
-       " 178 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00017.h5 \\\\\n",
-       " 179 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00018.h5 \\\\\n",
-       " 180 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00019.h5 \\\\\n",
-       " 181 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00020.h5 \\\\\n",
-       " 182 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00021.h5 \\\\\n",
-       " 183 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD07-S00022.h5 \\\\\n",
-       " 184 & Q3M1     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00000.h5 \\\\\n",
-       " 185 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00001.h5 \\\\\n",
-       " 186 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00002.h5 \\\\\n",
-       " 187 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00003.h5 \\\\\n",
-       " 188 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00004.h5 \\\\\n",
-       " 189 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00005.h5 \\\\\n",
-       " 190 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00006.h5 \\\\\n",
-       " 191 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00007.h5 \\\\\n",
-       " 192 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00008.h5 \\\\\n",
-       " 193 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00009.h5 \\\\\n",
-       " 194 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00010.h5 \\\\\n",
-       " 195 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00011.h5 \\\\\n",
-       " 196 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00012.h5 \\\\\n",
-       " 197 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00013.h5 \\\\\n",
-       " 198 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00014.h5 \\\\\n",
-       " 199 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00015.h5 \\\\\n",
-       " 200 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00016.h5 \\\\\n",
-       " 201 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00017.h5 \\\\\n",
-       " 202 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00018.h5 \\\\\n",
-       " 203 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00019.h5 \\\\\n",
-       " 204 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00020.h5 \\\\\n",
-       " 205 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00021.h5 \\\\\n",
-       " 206 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD08-S00022.h5 \\\\\n",
-       " 207 & Q3M2     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00000.h5 \\\\\n",
-       " 208 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00001.h5 \\\\\n",
-       " 209 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00002.h5 \\\\\n",
-       " 210 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00003.h5 \\\\\n",
-       " 211 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00004.h5 \\\\\n",
-       " 212 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00005.h5 \\\\\n",
-       " 213 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00006.h5 \\\\\n",
-       " 214 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00007.h5 \\\\\n",
-       " 215 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00008.h5 \\\\\n",
-       " 216 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00009.h5 \\\\\n",
-       " 217 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00010.h5 \\\\\n",
-       " 218 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00011.h5 \\\\\n",
-       " 219 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00012.h5 \\\\\n",
-       " 220 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00013.h5 \\\\\n",
-       " 221 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00014.h5 \\\\\n",
-       " 222 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00015.h5 \\\\\n",
-       " 223 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00016.h5 \\\\\n",
-       " 224 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00017.h5 \\\\\n",
-       " 225 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00018.h5 \\\\\n",
-       " 226 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00019.h5 \\\\\n",
-       " 227 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00020.h5 \\\\\n",
-       " 228 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00021.h5 \\\\\n",
-       " 229 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD09-S00022.h5 \\\\\n",
-       " 230 & Q3M3     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00000.h5 \\\\\n",
-       " 231 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00001.h5 \\\\\n",
-       " 232 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00002.h5 \\\\\n",
-       " 233 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00003.h5 \\\\\n",
-       " 234 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00004.h5 \\\\\n",
-       " 235 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00005.h5 \\\\\n",
-       " 236 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00006.h5 \\\\\n",
-       " 237 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00007.h5 \\\\\n",
-       " 238 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00008.h5 \\\\\n",
-       " 239 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00009.h5 \\\\\n",
-       " 240 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00010.h5 \\\\\n",
-       " 241 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00011.h5 \\\\\n",
-       " 242 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00012.h5 \\\\\n",
-       " 243 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00013.h5 \\\\\n",
-       " 244 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00014.h5 \\\\\n",
-       " 245 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00015.h5 \\\\\n",
-       " 246 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00016.h5 \\\\\n",
-       " 247 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00017.h5 \\\\\n",
-       " 248 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00018.h5 \\\\\n",
-       " 249 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00019.h5 \\\\\n",
-       " 250 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00020.h5 \\\\\n",
-       " 251 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00021.h5 \\\\\n",
-       " 252 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD10-S00022.h5 \\\\\n",
-       " 253 & Q3M4     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00000.h5 \\\\\n",
-       " 254 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00001.h5 \\\\\n",
-       " 255 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00002.h5 \\\\\n",
-       " 256 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00003.h5 \\\\\n",
-       " 257 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00004.h5 \\\\\n",
-       " 258 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00005.h5 \\\\\n",
-       " 259 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00006.h5 \\\\\n",
-       " 260 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00007.h5 \\\\\n",
-       " 261 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00008.h5 \\\\\n",
-       " 262 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00009.h5 \\\\\n",
-       " 263 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00010.h5 \\\\\n",
-       " 264 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00011.h5 \\\\\n",
-       " 265 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00012.h5 \\\\\n",
-       " 266 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00013.h5 \\\\\n",
-       " 267 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00014.h5 \\\\\n",
-       " 268 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00015.h5 \\\\\n",
-       " 269 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00016.h5 \\\\\n",
-       " 270 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00017.h5 \\\\\n",
-       " 271 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00018.h5 \\\\\n",
-       " 272 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00019.h5 \\\\\n",
-       " 273 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00020.h5 \\\\\n",
-       " 274 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00021.h5 \\\\\n",
-       " 275 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD11-S00022.h5 \\\\\n",
-       " 276 & Q4M1     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00000.h5 \\\\\n",
-       " 277 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00001.h5 \\\\\n",
-       " 278 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00002.h5 \\\\\n",
-       " 279 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00003.h5 \\\\\n",
-       " 280 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00004.h5 \\\\\n",
-       " 281 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00005.h5 \\\\\n",
-       " 282 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00006.h5 \\\\\n",
-       " 283 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00007.h5 \\\\\n",
-       " 284 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00008.h5 \\\\\n",
-       " 285 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00009.h5 \\\\\n",
-       " 286 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00010.h5 \\\\\n",
-       " 287 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00011.h5 \\\\\n",
-       " 288 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00012.h5 \\\\\n",
-       " 289 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00013.h5 \\\\\n",
-       " 290 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00014.h5 \\\\\n",
-       " 291 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00015.h5 \\\\\n",
-       " 292 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00016.h5 \\\\\n",
-       " 293 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00017.h5 \\\\\n",
-       " 294 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00018.h5 \\\\\n",
-       " 295 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00019.h5 \\\\\n",
-       " 296 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00020.h5 \\\\\n",
-       " 297 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00021.h5 \\\\\n",
-       " 298 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD12-S00022.h5 \\\\\n",
-       " 299 & Q4M2     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00000.h5 \\\\\n",
-       " 300 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00001.h5 \\\\\n",
-       " 301 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00002.h5 \\\\\n",
-       " 302 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00003.h5 \\\\\n",
-       " 303 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00004.h5 \\\\\n",
-       " 304 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00005.h5 \\\\\n",
-       " 305 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00006.h5 \\\\\n",
-       " 306 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00007.h5 \\\\\n",
-       " 307 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00008.h5 \\\\\n",
-       " 308 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00009.h5 \\\\\n",
-       " 309 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00010.h5 \\\\\n",
-       " 310 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00011.h5 \\\\\n",
-       " 311 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00012.h5 \\\\\n",
-       " 312 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00013.h5 \\\\\n",
-       " 313 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00014.h5 \\\\\n",
-       " 314 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00015.h5 \\\\\n",
-       " 315 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00016.h5 \\\\\n",
-       " 316 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00017.h5 \\\\\n",
-       " 317 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00018.h5 \\\\\n",
-       " 318 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00019.h5 \\\\\n",
-       " 319 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00020.h5 \\\\\n",
-       " 320 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00021.h5 \\\\\n",
-       " 321 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD13-S00022.h5 \\\\\n",
-       " 322 & Q4M3     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00000.h5 \\\\\n",
-       " 323 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00001.h5 \\\\\n",
-       " 324 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00002.h5 \\\\\n",
-       " 325 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00003.h5 \\\\\n",
-       " 326 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00004.h5 \\\\\n",
-       " 327 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00005.h5 \\\\\n",
-       " 328 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00006.h5 \\\\\n",
-       " 329 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00007.h5 \\\\\n",
-       " 330 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00008.h5 \\\\\n",
-       " 331 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00009.h5 \\\\\n",
-       " 332 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00010.h5 \\\\\n",
-       " 333 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00011.h5 \\\\\n",
-       " 334 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00012.h5 \\\\\n",
-       " 335 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00013.h5 \\\\\n",
-       " 336 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00014.h5 \\\\\n",
-       " 337 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00015.h5 \\\\\n",
-       " 338 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00016.h5 \\\\\n",
-       " 339 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00017.h5 \\\\\n",
-       " 340 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00018.h5 \\\\\n",
-       " 341 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00019.h5 \\\\\n",
-       " 342 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00020.h5 \\\\\n",
-       " 343 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00021.h5 \\\\\n",
-       " 344 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD14-S00022.h5 \\\\\n",
-       " 345 & Q4M4     &          0 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00000.h5 \\\\\n",
-       " 346 &          &          1 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00001.h5 \\\\\n",
-       " 347 &          &          2 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00002.h5 \\\\\n",
-       " 348 &          &          3 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00003.h5 \\\\\n",
-       " 349 &          &          4 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00004.h5 \\\\\n",
-       " 350 &          &          5 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00005.h5 \\\\\n",
-       " 351 &          &          6 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00006.h5 \\\\\n",
-       " 352 &          &          7 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00007.h5 \\\\\n",
-       " 353 &          &          8 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00008.h5 \\\\\n",
-       " 354 &          &          9 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00009.h5 \\\\\n",
-       " 355 &          &         10 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00010.h5 \\\\\n",
-       " 356 &          &         11 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00011.h5 \\\\\n",
-       " 357 &          &         12 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00012.h5 \\\\\n",
-       " 358 &          &         13 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00013.h5 \\\\\n",
-       " 359 &          &         14 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00014.h5 \\\\\n",
-       " 360 &          &         15 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00015.h5 \\\\\n",
-       " 361 &          &         16 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00016.h5 \\\\\n",
-       " 362 &          &         17 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00017.h5 \\\\\n",
-       " 363 &          &         18 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00018.h5 \\\\\n",
-       " 364 &          &         19 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00019.h5 \\\\\n",
-       " 365 &          &         20 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00020.h5 \\\\\n",
-       " 366 &          &         21 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00021.h5 \\\\\n",
-       " 367 &          &         22 & /gpfs/exfel/exp/MID/201931/p900090/raw//r0005/RAW-R0005-AGIPD15-S00022.h5 \\\\\n",
-       "\\hline\n",
-       "\\end{tabular}"
-      ],
-      "text/plain": [
-       "<IPython.core.display.Latex object>"
-      ]
-     },
-     "metadata": {},
-     "output_type": "display_data"
-    }
-   ],
+   "outputs": [],
    "source": [
     "import copy\n",
     "from IPython.display import HTML, display, Markdown, Latex\n",
@@ -739,63 +334,14 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": null,
    "metadata": {
     "ExecuteTime": {
      "end_time": "2019-02-21T11:30:16.057429Z",
      "start_time": "2019-02-21T11:30:10.082114Z"
     }
    },
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "Running 32 tasks parallel\n",
-      "foo\n",
-      "Have input\n",
-      "Set memory cells to 250\n",
-      "Set acquistion rate cells to 4.5 MHz\n",
-      "Retrieving from tcp://max-exfl016:8022 for AGIPD_SIV1_AGIPDV11_M337: 00303000100000\n",
-      "Offset was injected on: 2019-07-19 01:14:42+02:00\n",
-      "Retrieving from tcp://max-exfl016:8034 for AGIPD_SIV1_AGIPDV11_M337: 00303000100000\n",
-      "Noise was injected on: 2019-07-19 01:14:42+02:00\n",
-      "Retrieving from tcp://max-exfl016:8034 for AGIPD_SIV1_AGIPDV11_M337: 00303000100000\n",
-      "BadPixelsDark was injected on: 2019-07-19 01:14:42+02:00\n",
-      "Retrieving from tcp://max-exfl016:8034 for AGIPD_SIV1_AGIPDV11_M337: 00303000100000\n",
-      "ThresholdsDark was injected on: 2019-07-19 01:14:42+02:00\n",
-      "Offet medians are [4844. 7332. 7579.]\n",
-      "Threshold medians are [6455.25 7125.   5848.   7053.   7196.  ]\n",
-      "2019-07-19 01:14:42+02:00\n",
-      "After reading from file: \n",
-      "Offet medians are [4844.         7122.10742188 7579.        ]\n",
-      "Gain medians are [  0.99791807  35.87737    160.88506   ]\n",
-      "Threshold medians are [6455.25 7125.   5848.   7053.   7196.  ]\n",
-      "Initialized constants\n",
-      "Iterated\n",
-      "Iterated\n",
-      "Iterated\n",
-      "Iterated\n",
-      "Iterated\n",
-      "Iterated\n"
-     ]
-    },
-    {
-     "ename": "KeyboardInterrupt",
-     "evalue": "",
-     "output_type": "error",
-     "traceback": [
-      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
-      "\u001b[0;31mKeyboardInterrupt\u001b[0m                         Traceback (most recent call last)",
-      "\u001b[0;32m<ipython-input-6-ef2b971fe04b>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m    199\u001b[0m         \u001b[0;31m#r = view.map_sync(p, inp)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    200\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 201\u001b[0;31m         \u001b[0mr\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mlist\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmap\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mp\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0minp\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    202\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    203\u001b[0m         \u001b[0minp\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
-      "\u001b[0;32m<ipython-input-6-ef2b971fe04b>\u001b[0m in \u001b[0;36mcorrect_module\u001b[0;34m(max_cells, do_rel_gain, index_v, CHUNK_SIZE, total_sequences, sequences_qm, bins_gain_vs_signal, bins_signal_low_range, bins_signal_high_range, bins_dig_gain_vs_signal, max_pulses, dbparms, fileparms, nodb, chunk_size_idim, special_opts, il_mode, loc, dinstance, force_hg_if_below, force_mg_if_below, mask_noisy_adc, adjust_mg_baseline, acq_rate, dont_zero_nans, dont_zero_orange, inp)\u001b[0m\n\u001b[1;32m    121\u001b[0m         \u001b[0;32mfor\u001b[0m \u001b[0mirange\u001b[0m \u001b[0;32min\u001b[0m \u001b[0magipd_corr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_iteration_range\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    122\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 123\u001b[0;31m             \u001b[0magipd_corr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcorrect_agipd\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mirange\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    124\u001b[0m             \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Iterated\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    125\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
-      "\u001b[0;32m~/calibration_webservice_deployed/cal_tools/cal_tools/agipdlib.py\u001b[0m in \u001b[0;36mcorrect_agipd\u001b[0;34m(self, irange)\u001b[0m\n\u001b[1;32m    931\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    932\u001b[0m         \u001b[0;31m# also choose the correct bad pixel mask\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 933\u001b[0;31m         \u001b[0mmsk\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mchoose\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgain\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mtmask\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m...\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtmask\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m...\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtmask\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m...\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m2\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    934\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    935\u001b[0m         \u001b[0;31m# scale raw gain for use in the identifying snowy pixels\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
-      "\u001b[0;32m/software/anaconda3/5.2/lib/python3.6/site-packages/numpy/core/fromnumeric.py\u001b[0m in \u001b[0;36mchoose\u001b[0;34m(a, choices, out, mode)\u001b[0m\n\u001b[1;32m    377\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    378\u001b[0m     \"\"\"\n\u001b[0;32m--> 379\u001b[0;31m     \u001b[0;32mreturn\u001b[0m \u001b[0m_wrapfunc\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ma\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'choose'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mchoices\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mout\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmode\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mmode\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    380\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    381\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
-      "\u001b[0;32m/software/anaconda3/5.2/lib/python3.6/site-packages/numpy/core/fromnumeric.py\u001b[0m in \u001b[0;36m_wrapfunc\u001b[0;34m(obj, method, *args, **kwds)\u001b[0m\n\u001b[1;32m     50\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m_wrapfunc\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmethod\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwds\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     51\u001b[0m     \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 52\u001b[0;31m         \u001b[0;32mreturn\u001b[0m \u001b[0mgetattr\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmethod\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwds\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     53\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     54\u001b[0m     \u001b[0;31m# An AttributeError occurs if the object does not have\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
-      "\u001b[0;31mKeyboardInterrupt\u001b[0m: "
-     ]
-    }
-   ],
+   "outputs": [],
    "source": [
     "import copy\n",
     "from functools import partial\n",
diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
index 0183616292cbb776d052f6ae4eeaffc6c84274f1..297962e5a8a180ae1d7b866a1e7b862bedfd0690 100644
--- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
@@ -69,18 +69,14 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": []
   },
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "import warnings\n",
@@ -181,9 +177,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "dirlist = sorted(os.listdir(ped_dir))\n",
@@ -233,9 +227,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "def get_PSI_gainmaps(fname, dset):\n",
@@ -251,9 +243,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "## offset\n",
@@ -333,9 +323,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "# gain correction\n",
@@ -348,9 +336,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "def copy_and_sanitize_non_cal_data(infile, outfile, h5base):\n",
@@ -379,9 +365,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "import copy\n",
@@ -436,9 +420,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "def do_2d_plot(data, edges, y_axis, x_axis):\n",
@@ -628,9 +610,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": []
   }
diff --git a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
index b54e489e5dd6d4f8e43aecab83c3c94b85766c98..236d45880a20e11b312402e89df878729ea136b0 100644
--- a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
@@ -14,9 +14,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "in_folder = '/gpfs/exfel/exp/SPB/201921/p002429/raw/'  # folder under which runs are located, required\n",
@@ -100,9 +98,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "noiseCal = xcal.NoiseCalculator(sensorSize, nCells=memoryCells, cores=cpuCores, parallel=is_parallel, gains=gains,\n",
@@ -305,9 +301,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "## offset\n",
@@ -396,9 +390,7 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "collapsed": true
-   },
+   "metadata": {},
    "outputs": [],
    "source": [
     "\n",