diff --git a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
index afd29fc240478820a54116cc84ca0a9fd2ed7dd6..4c810bc6dae8b93c79d1445f1ef038f2292bb35b 100644
--- a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_NBC.ipynb
@@ -14,7 +14,9 @@
   {
    "cell_type": "code",
    "execution_count": 1,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": [
     "in_folder = '/gpfs/exfel/exp/FXE/201931/p900088/raw/'  # folder under which runs are located, required\n",
@@ -49,7 +51,9 @@
   {
    "cell_type": "code",
    "execution_count": 2,
-   "metadata": {},
+   "metadata": {
+    "collapsed": false
+   },
    "outputs": [
     {
      "name": "stdout",
@@ -108,7 +112,9 @@
   {
    "cell_type": "code",
    "execution_count": 3,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": [
     "noiseCal = xcal.NoiseCalculator(sensorSize, nCells=memoryCells, cores=cpuCores, parallel=is_parallel, gains=gains,\n",
@@ -118,7 +124,9 @@
   {
    "cell_type": "code",
    "execution_count": 4,
-   "metadata": {},
+   "metadata": {
+    "collapsed": false
+   },
    "outputs": [
     {
      "name": "stdout",
@@ -204,6 +212,7 @@
    "cell_type": "code",
    "execution_count": 5,
    "metadata": {
+    "collapsed": false,
     "scrolled": false
    },
    "outputs": [
@@ -405,7 +414,9 @@
   {
    "cell_type": "code",
    "execution_count": 6,
-   "metadata": {},
+   "metadata": {
+    "collapsed": false
+   },
    "outputs": [
     {
      "name": "stdout",
@@ -429,7 +440,9 @@
   {
    "cell_type": "code",
    "execution_count": 7,
-   "metadata": {},
+   "metadata": {
+    "collapsed": false
+   },
    "outputs": [
     {
      "data": {
@@ -495,7 +508,9 @@
   {
    "cell_type": "code",
    "execution_count": 8,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": [
     "## offset\n",
@@ -513,7 +528,7 @@
     "\n",
     "metadata.detector_condition = condition\n",
     "\n",
-    "# specify the a version for this constant\n",
+    "# specify the version for this constant\n",
     "if creation_time is None:\n",
     "        metadata.calibration_constant_version = Versions.Now(device=device)\n",
     "        metadata.retrieve(cal_db_interface)\n",
@@ -537,7 +552,7 @@
     "\n",
     "metadata.detector_condition = condition\n",
     "\n",
-    "# specify the a version for this constant\n",
+    "# specify the version for this constant\n",
     "if creation_time is None:\n",
     "        metadata.calibration_constant_version = Versions.Now(device=device)\n",
     "        metadata.retrieve(cal_db_interface)\n",
@@ -562,7 +577,7 @@
     "\n",
     "metadata.detector_condition = condition\n",
     "\n",
-    "# specify the a version for this constant\n",
+    "# specify the version for this constant\n",
     "if creation_time is None:\n",
     "        metadata.calibration_constant_version = Versions.Now(device=device)\n",
     "        metadata.retrieve(cal_db_interface)\n",
@@ -584,7 +599,9 @@
   {
    "cell_type": "code",
    "execution_count": 9,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": [
     "\n",
@@ -622,7 +639,9 @@
   {
    "cell_type": "code",
    "execution_count": 10,
-   "metadata": {},
+   "metadata": {
+    "collapsed": false
+   },
    "outputs": [
     {
      "ename": "ValueError",
@@ -676,7 +695,9 @@
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {},
+   "metadata": {
+    "collapsed": true
+   },
    "outputs": [],
    "source": []
   }
@@ -697,7 +718,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.7"
+   "version": "3.6.6"
   }
  },
  "nbformat": 4,
diff --git a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
index b0dc15acbf99a6d546df8c6a955339c3b3b449b9..6a777b117c25e928aa8f8f802b85e2b1d9ce83cd 100644
--- a/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb
@@ -72,8 +72,6 @@
     "import numpy as np\n",
     "import h5py\n",
     "from h5py import File as h5file\n",
-    "import XFELDetAna.xfelpyanatools as xana\n",
-    "import XFELDetAna.xfelpycaltools as xcal\n",
     "\n",
     "from cal_tools.enums import BadPixels\n",
     "from cal_tools.tools import get_dir_creation_date\n",