Skip to content
Snippets Groups Projects
Commit ead54dce authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

backwards_ecal: drop above plot titles

parent 3a1def8c
No related branches found
No related tags found
No related merge requests found
......@@ -157,7 +157,6 @@ rule backwards_ecal:
env \
MATPLOTLIBRC={input.matplotlibrc} \
DETECTOR_CONFIG=""" + DETECTOR_CONFIG + """ \
PLOT_TITLE=""" + DETECTOR_CONFIG + """ \
INPUT_PATH_FORMAT=listing/backwards_ecal/{wildcards.CAMPAIGN}/""" + DETECTOR_CONFIG + """/{{particle}}/{{energy}}/130to177deg.lst \
OUTPUT_DIR={output} \
python {input.script}
......
......@@ -122,8 +122,6 @@ for energy in energies:
#+begin_src jupyter-python
fig, axs = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6))
fig.suptitle(PLOT_TITLE)
axs = np.ravel(np.array(axs))
sigmas_rel_FWHM_cb = {}
......@@ -227,7 +225,6 @@ plt.fill_between(
np.sqrt((2 / np.sqrt(energy_values)) ** 2 + 3 ** 2),
alpha=0.2, color="black", label=r"YR requirement $2\% / \sqrt{E} \oplus (1-3)\%$",
)
plt.title(INPUT_PATH_FORMAT)
plt.legend()
plt.xlabel("Energy, GeV", loc="right")
plt.ylabel(r"$\sigma_{E} / E$ derived from FWHM, %", loc="top")
......@@ -243,10 +240,6 @@ fig, axs = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6))
fig_log, axs_log = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6))
fig_roc, axs_roc = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6))
fig.suptitle(PLOT_TITLE)
fig_log.suptitle(PLOT_TITLE)
fig_roc.suptitle(PLOT_TITLE)
axs = np.ravel(np.array(axs))
axs_log = np.ravel(np.array(axs_log))
axs_roc = np.ravel(np.array(axs_roc))
......@@ -317,7 +310,6 @@ for clf_label, roc in rocs.items():
label=f"{clf_label}",
)
plt.yscale("log")
plt.title(INPUT_PATH_FORMAT)
plt.legend()
plt.xlabel("Energy, GeV")
plt.ylabel("Pion rejection at 95%")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment