From bcb38557369b48f495d4cd7a8f27af26fecda2a0 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Thu, 30 May 2024 16:14:21 +0200 Subject: [PATCH] fix(AGIPD)(CORRECT): bug when plotting gain data of only 0 after it's info was discarded by DAQ --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index cf11ccbf1..a7d9edcae 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -1066,7 +1066,7 @@ " bins=(100, 100),\n", " range=[\n", " np.percentile(signal, [0.02, 99.8]),\n", - " np.percentile(gain, [0.02, 99.8]),\n", + " [0, 3],\n", " ],\n", " )\n", "do_2d_plot(hist, (bins_x, bins_y), \"Signal (ADU)\", \"Analogue gain (ADU)\")" -- GitLab