From 98a85f23fabdca913e531e69dcc1b54360ff504e Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Tue, 19 Nov 2024 14:35:00 +0100 Subject: [PATCH] fix: remove gh2_detector value from 1st in correction --- notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb | 3 +-- notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb index 32a4f221c..9319d4fff 100644 --- a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb @@ -206,9 +206,8 @@ "print(\"Single photon: \", single_photon)\n", "acquisition_rate = conditions[\"acquisition_rate\"].pop()\n", "print(\"Acquisition rate: \", acquisition_rate)\n", - "\n", "gh2_detector = g2ctrl.get_det_type()\n", - "print(f\"Processing {gh2_detector} Gotthard2.\")\n" + "print(f\"Processing {gh2_detector} Gotthard2.\")" ] }, { diff --git a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb index 4cb0ab80f..022c74bff 100644 --- a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb @@ -84,7 +84,7 @@ "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 = -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", - "gh2_detector = \"25um\" # Specifies the GH2 detector type ('50um' or '25um'). This parameter can be used to manually set the detector type if the code cannot automatically determine it from the control data.\n", + "gh2_detector = \"\" # Specifies the GH2 detector type ('50um' or '25um'). This parameter can be used to manually set the detector type if the code cannot automatically determine it from the control data.\n", "\n", "# Parameters for plotting\n", "skip_plots = False # exit after writing corrected files\n", -- GitLab