diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb index 53d2bea7d08c177e668852490a03a3dcecc8c1be..2ee182a23ffa9912a42ed68eee1a04da49335952 100644 --- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb +++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb @@ -109,7 +109,7 @@ "\n", "import iCalibrationDB\n", "import matplotlib.pyplot as plt\n", - "from cal_tools.agipdlib import AgipdCtrl, AgipdCtrlDark\n", + "from cal_tools.agipdlib import AgipdCtrl, AgipdCtrlRuns\n", "from cal_tools.enums import BadPixels\n", "from cal_tools.plotting import (\n", " create_constant_overview,\n", @@ -273,7 +273,7 @@ " )\n", " )\n", "\n", - "agipd_ctrl_dark = AgipdCtrlDark(run_ctrls)\n", + "agipd_ctrl_dark = AgipdCtrlRuns(run_ctrls)\n", "if mem_cells == 0:\n", " mem_cells = agipd_ctrl_dark.get_memory_cells()\n", "\n", diff --git a/src/cal_tools/agipdlib.py b/src/cal_tools/agipdlib.py index 0c8a60bd6b8a24af17f28d5d568f09ca9c3fd2ba..404c40d04d01b6b9d91b708892761e893068b811 100644 --- a/src/cal_tools/agipdlib.py +++ b/src/cal_tools/agipdlib.py @@ -307,7 +307,7 @@ class AgipdCtrl: @dataclass -class AgipdCtrlDark: +class AgipdCtrlRuns: run_ctrls: List[AgipdCtrl] runs: list = field(init=False)