From 2f3ed18fc7867aae2d5034707211c99d46ada475 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Thu, 30 May 2024 20:07:27 +0200 Subject: [PATCH] fix: apply pep8 --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 574ce6a6b..442f0d65e 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -1058,13 +1058,13 @@ " signal = raw[:, 0, ...]\n", " display(Markdown(\"### Signal vs. Analogue Gain\"))\n", " hist, bins_x, bins_y = calgs.histogram2d(\n", - " signal.flatten().astype(np.float32),\n", - " gain.flatten().astype(np.float32),\n", - " bins=(100, 100),\n", - " range=[\n", - " np.percentile(signal, [0.02, 99.8]),\n", - " np.percentile(gain, [0.02, 99.8]),\n", - " ],\n", + " signal.flatten().astype(np.float32),\n", + " gain.flatten().astype(np.float32),\n", + " bins=(100, 100),\n", + " range=[\n", + " np.percentile(signal, [0.02, 99.8]),\n", + " np.percentile(gain, [0.02, 99.8]),\n", + " ],\n", " )\n", " do_2d_plot(hist, (bins_x, bins_y), \"Signal (ADU)\", \"Analogue gain (ADU)\")" ] -- GitLab