From fe3579c644eff3c3707b119319335ef18eab51c4 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Thu, 3 Mar 2022 15:31:17 +0100
Subject: [PATCH] convert to float only within each process to save memory

---
 .../Jungfrau_dark_analysis_all_gains_burst_mode_NBC.ipynb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 b90a78ed8..356e75e8c 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
@@ -309,7 +309,7 @@
     "                \" Not enough data to process darks.\")\n",
     "\n",
     "        images = np.transpose(\n",
-    "            instr_dc[instrument_src, \"data.adc\"].ndarray().astype(np.float64), (3, 2, 1, 0))\n",
+    "            instr_dc[instrument_src, \"data.adc\"].ndarray(), (3, 2, 1, 0))\n",
     "        acelltable = np.transpose(instr_dc[instrument_src, \"data.memoryCell\"].ndarray())\n",
     "        gain_vals = np.transpose(\n",
     "            instr_dc[instrument_src, \"data.gain\"].ndarray(), (3, 2, 1, 0))\n",
-- 
GitLab