diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 3c65015a983f33867e7048b426b84fbb8b03976d..b100cec8a2f3bf15e0437493461c10107e891ced 100644 --- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb +++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb @@ -182,7 +182,14 @@ " gain_mode = ctrl_data.get_gain_mode()\n", " print(f\"Gain mode is {gain_mode} ({ctrl_data.run_mode})\")\n", "else:\n", - " print(f\"Gain mode is manually set to {gain_mode}.\")" + " print(f\"Gain mode is manually set to {gain_mode}.\")\n", + "\n", + "# JF corrections in burst mode are only supported when no gain switching occurs.\n", + "# Always retrieve fixed gain constant for burst mode.\n", + "if gain_mode == 1 and mem_cells > 1:\n", + " print(\"By default fixed gain constant will be retrieved for burst mode data,\"\n", + " \" even for dynamic gain data.\")\n", + " gain_mode = 1" ] }, {