diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_FlatFields_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_FlatFields_NBC.ipynb index 5ce10fa6eb7bede821ba34db28d321cd4fee3cac..fab1aa7971775019c7266c2607581ce6a368e030 100644 --- a/notebooks/AGIPD/Characterize_AGIPD_Gain_FlatFields_NBC.ipynb +++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_FlatFields_NBC.ipynb @@ -90,7 +90,6 @@ "import numpy as np\n", "import sharedmem\n", "import XFELDetAna.xfelpyanatools as xana\n", - "from cal_tools.agipdlib import get_bias_voltage\n", "from cal_tools.agipdutils_ff import (\n", " BadPixelsFF,\n", " any_in,\n", @@ -125,23 +124,6 @@ "module = modules[0]" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# This is never used in this notebook and should be removed\n", - "\n", - "# if bias_voltage == 0:\n", - "# # Read the bias voltage from files, if recorded.\n", - "# # If not available, make use of the historical voltage the detector is running at\n", - "# control_filename = f'{raw_folder}/r{run:04d}/RAW-R{run:04d}-{karabo_da_control}-S00000.h5'\n", - "# bias_voltage = get_bias_voltage(control_filename, karabo_id_control)\n", - "# bias_voltage = bias_voltage if bias_voltage is not None else 300\n", - "# print(f\"Bias voltage: {bias_voltage}V\")" - ] - }, { "cell_type": "code", "execution_count": null,