From b192e53f81f6d5b8cba7108016ca289ffb50f551 Mon Sep 17 00:00:00 2001 From: Philipp Schmidt <philipp.schmidt@xfel.eu> Date: Mon, 18 Oct 2021 16:44:51 +0200 Subject: [PATCH] Fix no longer needed parameters, figure clears and markup wording --- notebooks/REMI/REMI_Digitize_and_Transform.ipynb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/notebooks/REMI/REMI_Digitize_and_Transform.ipynb b/notebooks/REMI/REMI_Digitize_and_Transform.ipynb index 7bd0701ad..1c78263ce 100644 --- a/notebooks/REMI/REMI_Digitize_and_Transform.ipynb +++ b/notebooks/REMI/REMI_Digitize_and_Transform.ipynb @@ -36,7 +36,6 @@ "chunks_signals = [50, 50] # HDF chunk size for signals.\n", "dataset_compression = 'gzip' # HDF compression method.\n", "dataset_compression_opts = 3 # HDF GZIP compression level.\n", - "extra_sources = [''] # No longer used.\n", "\n", "# Parallelization parameters.\n", "mp_pulse_info = 8 # Parallelization for pulse statistics.\n", @@ -476,8 +475,6 @@ " edges = edges_by_det[det_name]\n", " \n", " fig = plt.figure(num=100+i, figsize=(9.5, 8))\n", - " fig.clf()\n", - " \n", " grid = fig.add_gridspec(ncols=2, nrows=4, left=0.1, right=0.98, top=0.98, bottom=0.1)\n", "\n", " fig.text(0.02, 0.98, det_name.upper(), rotation=90, ha='left', va='top', size='x-large')\n", @@ -535,7 +532,6 @@ "source": [ "for i, det_name in enumerate(remi['detector'].keys()):\n", " fig = plt.figure(num=20+i, figsize=(9.5, 6))\n", - " fig.clf()\n", " \n", " edges = edges_by_det[det_name]\n", " \n", @@ -745,7 +741,7 @@ "| 19 | `2+1+0 +0` `2+0+1 +0` `1+2+0 +0` `1+0+2 +0` `0+1+2 +0` `0+2+1 +0` (12 permutations) |\n", "\n", "* For hits reconstructed with method `> 10`, extra attention should be given to ensure they add meaningful signal.\n", - "* Any method `> 14` has to considered risky, because no time sum can be checked nor the position check be used. If the scale factors and/or `w` shift are not correct, then the number of events reconstructed with the risky methods will increase. They will most likely be *ghost hits*, which do not correspond to actual impacts on the detector." + "* Any method `> 14` has to considered risky, because neither a time sum nor the position can be checked. If the scale factors and/or `w` shift are not correct, then the number of events reconstructed with the risky methods will increase. They will most likely be *ghost hits*, which do not correspond to actual impacts on the detector." ] }, { @@ -837,7 +833,6 @@ " flat_hits = flat_hits[flat_hits['m'] < 10]\n", "\n", " fig = plt.figure(num=70+i, figsize=(9, 13.5))\n", - " fig.clf()\n", " \n", " fig.text(0.02, 0.98, det_name.upper(), rotation=90, ha='left', va='top', size='x-large')\n", " fig.text(0.02, 0.02, det_name.upper(), rotation=90, ha='left', va='bottom', size='x-large')\n", -- GitLab