diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 094be79340968df6e4a0849f4ac51da4a7ab8974..37f6eab2042341911ea6a52a2e0a05d6a89488b6 100644 --- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb +++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb @@ -197,7 +197,7 @@ "else:\n", " print(f\"Gain setting is manually set to {gain_setting}.\")\n", "\n", - "force_fixed_gain_constants_flag = False\n", + "prefer_fixed_gain_constants_flag = False\n", "if gain_mode < 0:\n", " gain_mode = ctrl_data.get_gain_mode()\n", " print(f\"Gain mode is {gain_mode} ({ctrl_data.run_mode})\")\n", @@ -206,7 +206,7 @@ " if gain_mode == 0 and memory_cells > 1:\n", " print(\"By default fixed gain constant will be retrieved for burst mode data,\"\n", " \" even for dynamic gain data.\")\n", - " force_fixed_gain_constants_flag = True\n", + " prefer_fixed_gain_constants_flag = True\n", "else:\n", " print(f\"Gain mode is manually set to {gain_mode}.\")" ] @@ -260,11 +260,11 @@ " ).require_calibrations(\n", " ['Offset10Hz']\n", " )\n", - " jf_consts.summary_table()\n", + " display(jf_consts.summary_table())\n", "\n", " return jf_consts, jf_consts.aggregator_names\n", "\n", - "def force_fixed_gain_constants():\n", + "def prefer_fixed_gain_constants():\n", " \"\"\"JF corrections in burst mode are only supported when\n", " no gain switching occurs. Always retrieve fixed gain\n", " constant for burst mode.\n", @@ -321,8 +321,8 @@ }, "outputs": [], "source": [ - "if force_fixed_gain_constants_flag:\n", - " jungfrau_consts, das_to_correct = force_fixed_gain_constants()\n", + "if prefer_fixed_gain_constants_flag:\n", + " jungfrau_consts, das_to_correct = prefer_fixed_gain_constants()\n", "else:\n", " jungfrau_consts, das_to_correct = jungfrau_cal_mdata(gain_mode)" ]