diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 574ce6a6bdf77ab3cfcdb2db268e5bceeab53978..442f0d65e6b338125d96a4eb47fce961ca45b3f5 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)\")" ]