diff --git a/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb b/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb index d583123edbe7c70524b2b9eb7fde8d5ad466b328..f787bf53828cd4b1bf2b7c3e6fe0305f758dadc4 100644 --- a/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb +++ b/notebooks/generic/overallmodules_Darks_Summary_NBC.ipynb @@ -60,7 +60,7 @@ " elif \"MID\" in karabo_id:\n", " dinstance = \"AGIPD1M2\"\n", " nmods = 16\n", - " elif \"HED\" in karabo_id or \"DETLAB\" in karabo_id:\n", + " elif \"HED\" in karabo_id:\n", " dinstance = \"AGIPD500K\"\n", " nmods = 8\n", " display(Markdown(\"\"\"\n", @@ -281,7 +281,7 @@ " pixels_y = 256\n", " pixels_x = 256\n", "\n", - "elif \"AGIPD\" in dinstance:\n", + "elif dinstance in ('AGIPD1M1', 'AGIPD1M2'):\n", " geom = extra_geom.AGIPD_1MGeometry.from_quad_positions(quad_pos=[(-525, 625),\n", " (-550, -10),\n", " (520, -160),\n", @@ -289,6 +289,11 @@ " pixels_y = 128\n", " pixels_x = 512\n", "\n", + "elif dinstance == \"AGIPD500K\":\n", + " geom = extra_geom.AGIPD_500K2GGeometry.from_origin()\n", + " pixels_y = 128\n", + " pixels_x = 512\n", + " \n", "elif \"DSSC\" in dinstance:\n", " pixels_y = 512\n", " pixels_x = 128\n", @@ -302,14 +307,6 @@ "gainstages = 1\n", "\n", "for const_name, const in constants.items():\n", - " \n", - " \n", - " #TODO: add a Summary figure across modules\n", - " if dinstance == \"AGIPD500K\":\n", - " display(Markdown(f'WARNING: No summary figures are available for AGIPD mini-half at the moment.'))\n", - " break\n", - " \n", - " \n", " if const_name == 'BadPixelsDark':\n", " continue\n", " # Check if constant gain available in constant e.g. AGIPD, LPD\n",