Skip to content
Snippets Groups Projects

Remove wrong import in FF AGIPD notebook

Merged Karim Ahmed requested to merge fix/wrong_import_ff_AGIPD into master
1 file
+ 0
15
Compare changes
  • Side-by-side
  • Inline
@@ -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,
Loading