diff --git a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb index c0ea887d2454b62803bf6c1cfbbe5e2362f81771..e4153353f962fd9772e78b640b0889c85bf57dd1 100644 --- a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb @@ -85,7 +85,7 @@ "exposure_period = -1. # Detector exposure period, set to -1 to use value in raw file.\n", "acquisition_rate = -1. # Detector acquisition rate (1.1/4.5), set to -1 to use value in raw file.\n", "single_photon = -1 # Detector single photon mode (High/Low CDS), set to -1 to use value in raw file.\n", - "reverse_second_module = False # Reverse 25um GH2 second module before interleaving. set to -1 to use value in raw file reverse based on `CTRL/reverseSlaveReadOutMode`'s value.\n", + "reverse_second_module = -1 # Reverse 25um GH2 second module before interleaving. set to -1 to use value in raw file to reverse based on `CTRL/reverseSlaveReadOutMode`'s value.\n", "\n", "# Parameters for plotting\n", "skip_plots = False # exit after writing corrected files\n", @@ -188,7 +188,7 @@ " single_photon = g2ctrl.get_single_photon()\n", "\n", "gh2_detector = g2ctrl.get_det_type()\n", - "if reverse_second_module and gh2_detector == \"25um\":\n", + "if reverse_second_module == -1 and gh2_detector == \"25um\":\n", " reverse_second_module = not g2ctrl.second_module_reversed()\n", " print(\n", " \"Second module is not reversed. \"\n",