diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb index e6e2ec88dcd90766d7c24be487ab20f1ebf091f2..e28a84d321ac8b1d322f3ea10e4c544763997857 100644 --- a/notebooks/LPD/LPD_Correct_Fast.ipynb +++ b/notebooks/LPD/LPD_Correct_Fast.ipynb @@ -267,13 +267,15 @@ " 14: 'BadPixelsDark' # should be np.uint32, but is np.float64\n", " }\n", "\n", - " dark_condition = [\n", + " base_condition = [\n", " dict(parameter_id=1, value=bias_voltage), # Sensor bias voltage\n", " dict(parameter_id=7, value=mem_cells), # Memory cells\n", " dict(parameter_id=15, value=capacitor), # Feedback capacitor\n", " dict(parameter_id=13, value=256), # Pixels X\n", " dict(parameter_id=14, value=256), # Pixels Y\n", - " dict(parameter_id=..., value=cell_ids_pattern_s), # Memory cell order\n", + " ]\n", + " dark_condition = base_condition + [\n", + " dict(parameter_id=142, value=cell_ids_pattern_s), # Memory cell order\n", " ]\n", "\n", " illuminated_calibrations = {\n", @@ -283,8 +285,7 @@ " 44: 'RelativeGain' # np.float32\n", " }\n", "\n", - " illuminated_condition = dark_condition.copy()\n", - " illuminated_condition += [\n", + " illuminated_condition = base_condition + [\n", " dict(parameter_id=3, value=photon_energy), # Source energy\n", " dict(parameter_id=25, value=category) # category\n", " ]\n",