From d9904830a85d6a60901d0a13733a8dde08fc0eb1 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Tue, 20 Jun 2023 09:27:21 +0200
Subject: [PATCH] fix illum_metadata

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

diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb
index 75dc71d41..31c1fe989 100644
--- a/notebooks/LPD/LPD_Correct_Fast.ipynb
+++ b/notebooks/LPD/LPD_Correct_Fast.ipynb
@@ -269,7 +269,7 @@
     "\n",
     "lpd_metadata = lpd_cal.metadata([\"Offset\", \"BadPixelsDark\"])\n",
     "try:\n",
-    "    illum_metadata = lpd_cal.ndarray_map(lpd_cal.illuminated_calibrations)\n",
+    "    illum_metadata = lpd_cal.metadata(lpd_cal.illuminated_calibrations)\n",
     "    for key, value in illum_metadata.items():\n",
     "        lpd_metadata.setdefault(key, {}).update(value)\n",
     "except CalCatError as e:  # TODO: replace when API errors are improved.\n",
-- 
GitLab