From c283a2f4af8f47c81ae3673a9307a4cf1c7e5b70 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Mon, 8 May 2023 10:19:07 +0200 Subject: [PATCH] Avoid injecting with category by setting it to None --- ...LPD_Mini_Inject_calibration_constants_from_h5files.ipynb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/notebooks/LPDMini/LPD_Mini_Inject_calibration_constants_from_h5files.ipynb b/notebooks/LPDMini/LPD_Mini_Inject_calibration_constants_from_h5files.ipynb index 59d69ddac..215a52eb0 100644 --- a/notebooks/LPDMini/LPD_Mini_Inject_calibration_constants_from_h5files.ipynb +++ b/notebooks/LPDMini/LPD_Mini_Inject_calibration_constants_from_h5files.ipynb @@ -68,8 +68,6 @@ "source": [ "pixels_x = 256\n", "pixels_y = 32\n", - "category = 0 # Bad condition.\n", - "\n", "\n", "calcat_client = calibration_client()\n", "calcat = CalCatApi(client=calcat_client)\n", @@ -163,7 +161,7 @@ " pixels_x=pixels_x,\n", " pixels_y=pixels_y,\n", " capacitor=capacitor,\n", - " category=category,\n", + " category=None,\n", " )\n", " constant = getattr(Constants.LPD, constant_name)()\n", "\n", @@ -224,7 +222,7 @@ " pixels_x=pixels_x,\n", " pixels_y=pixels_y,\n", " capacitor=capacitor,\n", - " category=category,\n", + " category=None,\n", ")\n", "\n", "# Retrieve all physical detector units for the given karabo_da list.\n", -- GitLab