Chapter1 half corr., Chapter2 no corr.

This commit is contained in:
Jonas Kellerer
2021-03-16 16:10:28 +01:00
parent 9e5c2f068f
commit e65e5a8a55
34 changed files with 76033 additions and 1700 deletions
@@ -67,9 +67,9 @@ n_1 = beta_dist_mass(Eend_eV, 1)
pltStd.setRcParams()
prop_cycle = plt.rcParams['axes.prop_cycle']
colors = prop_cycle.by_key()['color']
"""
(width, height) = pltStd.set_size('thesis')
fig, ax = plt.subplots(1, 1, figsize=(width, height))
fig, ax = plt.subplots(1, 1, figsize=(width, 0.5*height))
ax.plot(E_eV, n, linewidth=2)
ax.set_xlabel(r'Electron energy $E$ [$E_0$]')
@@ -98,5 +98,40 @@ axins.text(end_point_eV-0.95, 0.4e-4, r'$m_{\nu}=0\,$eV', color=colors[0], size=
axins.text(end_point_eV-1.8, 0.1e-4, r'$m_{\nu}=1\,$eV', color=colors[1], size=10, ha='left')
axins.set_xlabel(r'$E - E_0$ [eV]',size=8, ha='right', x=0.64, alpha=1, y=0.2)
#plt.show()
plt.savefig(output_file,bbox_inches='tight')
plt.show()
#plt.savefig(output_file,bbox_inches='tight')
"""
(width, height) = pltStd.set_size('thesis')
fig, (ax, ax1) = plt.subplots(1, 2, figsize=(width, 0.6*height))
ax.plot(E_eV, n, linewidth=2)
ax.set_xlabel(r'Electron energy $E$ [$E_0$]')
ax.set_xlim (0,2.5e4)
ax.set_xticks([0,end_point_eV/2,end_point_eV])
ax.set_xticklabels(['0','0.5','1'])
ax.set_ylim (0,1.5)
ax.set_ylabel('Intensity $I$ [arb. u]')
ax.set_yticks([])
ax.set_yticklabels([])
ax1.plot(Eend_eV,n_0*4e3,linewidth=2)
ax1.plot(Eend_eV,n_1*4e3,linewidth=2)
ax1.set_xlim(end_point_eV-2.2, end_point_eV+0.25)
ax1.set_ylabel('Intensity $I$ [arb. u]')
ax1.set_ylim(0, 0.15e-3)
ax1.set_xticks([end_point_eV-2, end_point_eV-1, end_point_eV])
ax1.set_xticklabels([-2, -1, 0])
ax1.set_yticks([])
ax1.set_yticklabels([])
ax1.text(end_point_eV-0.95, 0.4e-4, r'$m_{\nu}=0\,$eV', color=colors[0], size=10, ha='left')
ax1.text(end_point_eV-1.8, 0.1e-4, r'$m_{\nu}=1\,$eV', color=colors[1], size=10, ha='left')
ax1.set_xlabel(r'Electron Energy $E - E_0$ [eV]')
plt.savefig(output_file,bbox_inches='tight')
plt.show()