Chapter 1-2 ready. Chapter3 under construction
This commit is contained in:
@@ -56,6 +56,11 @@ def k3(k3_given, T_given, T_new):
|
||||
a = k3_given*T_given
|
||||
return a/T_new
|
||||
|
||||
def kf_min(kf_gerlich, kf_paul, T):
|
||||
m = (kf_gerlich - kf_paul)/15
|
||||
n = kf_gerlich - m*25
|
||||
return m * T + n
|
||||
|
||||
# gerlich
|
||||
|
||||
h3_gerlich = np.array([9E-1, 8.63E-1, 8.33E-1, 8E-1])
|
||||
@@ -130,16 +135,21 @@ kf_gerlich_25 = np.array([f_5, f_7, f_9])
|
||||
|
||||
# calculations
|
||||
############################################
|
||||
binding_energy = np.array([260, 17, 108, 11, 11, 10, 10, 10, 9, 9])*1E-3
|
||||
kf_paul_25 = kf(kf_paul_10, 10, 25, binding_energy)
|
||||
#kf_paul_25 = kf(kf_paul_10, 10, 25, 9E-3)
|
||||
#kf_paul_25_errobar = kf(kf_paul_10_error, 10, 25, 9E-3)
|
||||
kf_paul_25_errobar = kf(kf_paul_10_error, 10, 25, binding_energy)
|
||||
|
||||
kf_paul_25 = kf(kf_paul_10, 10, 25, 9E-3)
|
||||
kf_paul_25_errobar = kf(kf_paul_10_error, 10, 25, 9E-3)
|
||||
|
||||
kf_paul_80 = kf(kf_paul_10, 10, 80, 9E-3)
|
||||
kf_paul_80_errorbar = kf(kf_paul_10_error, 10, 80, 9E-3)
|
||||
#kf_paul_80 = kf(kf_paul_10, 10, 80, 9E-3)
|
||||
kf_paul_80 = kf(kf_paul_10, 10, 80, binding_energy)
|
||||
|
||||
#kf_paul_80_errorbar = kf(kf_paul_10_error, 10, 80, 9E-3)
|
||||
kf_paul_80_errorbar = kf(kf_paul_10_error, 10, 80, binding_energy)
|
||||
|
||||
H2_paul = 1E14
|
||||
H2_gerlich = 3.7E13
|
||||
H2_katrin = 1E15
|
||||
H2_katrin = 6.337599E14
|
||||
|
||||
k3_paul_25 = k3(k3_paul_10, 10, 25)
|
||||
k3_paul_25_errorbar = k3(k3_paul_10_error, 10, 25)
|
||||
@@ -147,6 +157,9 @@ k3_paul_25_errorbar = k3(k3_paul_10_error, 10, 25)
|
||||
k3_paul_80 = k3(k3_paul_10, 10, 80)
|
||||
k3_paul_80_errorbar = k3(k3_paul_10_error, 10, 80)
|
||||
|
||||
kf_paul_min80 = kf_min(k3_gerlich[1:4]*H2_gerlich, kf_paul_10[0:3], 80)
|
||||
kf_paul_min80_errorbar_min = kf_min(k3_gerlich[1:4]*H2_gerlich, kf_paul_10_error[0:3], 80)
|
||||
|
||||
# plots
|
||||
############################################
|
||||
pltStd.setRcParams()
|
||||
@@ -158,19 +171,21 @@ fig, (ax,ax1) = plt.subplots(2, 1, figsize=(width, height*1.5))
|
||||
|
||||
|
||||
# k3
|
||||
ax.errorbar(h_i, k3_paul_10, yerr=k3_paul_10_error, linestyle='--', label=r'Paul et al. $(T=10K)$', capsize=3, fmt='.')
|
||||
ax.errorbar(h_i, k3_paul_25, yerr=k3_paul_25_errorbar, linestyle='--',label=r'Paul et al., scaled $(T=25K)$ ', capsize=3, fmt='.')
|
||||
ax.plot(h_i[0:4], k3_gerlich, 'x--', label=r'Gerlich et al. $(T=25K)$')
|
||||
ax.errorbar(h_i, k3_paul_10, yerr=k3_paul_10_error, linestyle='--', label=r'Paul $(T=10K)$', capsize=3, fmt='.', ecolor=colors[0])
|
||||
ax.errorbar(h_i, k3_paul_25, yerr=k3_paul_25_errorbar, linestyle='--',label=r'Paul, scaled $(T=25K)$ ', capsize=3, fmt='.', ecolor=colors[1])
|
||||
ax.plot(h_i[0:4], k3_gerlich, 'x-.', label=r'Gerlich $(T=25K)$', color=colors[2])
|
||||
ax.set_ylabel(r'Rate constant $k_3$ [cm$^{6}$s$^{-1}$]')
|
||||
ax.set_yscale('log')
|
||||
ax.legend(loc="lower right")
|
||||
ax.set_xticks(h_i)
|
||||
|
||||
ax.set_facecolor('#e7e7e7ff')
|
||||
ax.grid(color='white')
|
||||
|
||||
#kf
|
||||
ax1.errorbar(h_i, kf_paul_10, yerr=kf_paul_10_error, linestyle='--', label=r'Paul et al. $(T=10K)$', capsize=3, fmt='.')
|
||||
ax1.errorbar(h_i, kf_paul_25, yerr=kf_paul_25_errobar, linestyle='--', label=r'Paul et al., scaled $(T=25K)$ ', capsize=3, fmt='.')
|
||||
ax1.plot(h_i[0:3], kf_gerlich_25, 'x--', label=r'Gerlich et al. extrapolated $(T=25K)$')
|
||||
#ax1.errorbar(h_i, kf_paul_25, yerr=kf_paul_25_errobar, linestyle='--', label=r'Paul et al., scaled $(T=25K)$ ', capsize=3, fmt='.')
|
||||
ax1.plot(h_i[0:3], k3_gerlich[1:4]*H2_gerlich, 'x-.', label=r'Gerlich, lower limit $(T=25K)$', color=colors[2])
|
||||
#ax1.plot(h_i[0:3], kf_gerlich_25, 'x--', label=r'Gerlich et al. extrapolated $(T=25K)$')
|
||||
ax1.set_yscale('log')
|
||||
|
||||
ax1.legend(loc="upper right")
|
||||
@@ -178,8 +193,13 @@ ax1.set_ylabel(r'Rate constant $k_f$ [cm$^{3}$s$^{-1}$]')
|
||||
ax1.set_xlabel(r'Cluster size H$_i$')
|
||||
ax1.legend(loc="lower right")
|
||||
ax1.set_xticks(h_i)
|
||||
ax1.set_facecolor('#e7e7e7ff')
|
||||
ax1.grid(color='white')
|
||||
#ax1.set_ylim((2.6E-16, 2.0E-8))
|
||||
|
||||
|
||||
plt.savefig(output_folder + "clustering_25k.pdf",bbox_inches='tight')
|
||||
|
||||
plt.show()
|
||||
|
||||
|
||||
@@ -188,13 +208,36 @@ fig, ax = plt.subplots(1, 1, figsize=(width, height))
|
||||
|
||||
|
||||
# k3
|
||||
ax.errorbar(h_i, k3_paul_10*H2_katrin, yerr=k3_paul_10_error*H2_katrin, linestyle='--', label=r'$k_3 \cdot [H2]$, $(T=10K)$', capsize=3, fmt='.')
|
||||
ax.errorbar(h_i, k3_paul_80*H2_katrin, yerr=k3_paul_80_errorbar*H2_katrin, linestyle='-.',label=r'$k_3 \cdot [H2]$, $(T=80K)$', capsize=3, fmt='.')
|
||||
#ax.errorbar(h_i, k3_paul_10*H2_katrin, yerr=k3_paul_10_error*H2_katrin, linestyle='--', label=r'$k_3 \cdot [H2]$, $(T=10K)$', capsize=3, fmt='.')
|
||||
ax.errorbar(h_i, k3_paul_80*H2_katrin, yerr=k3_paul_80_errorbar*H2_katrin, linestyle='--',label=r'$k_3(T=80K) \cdot [H2]$, scaled, Paul', capsize=3, fmt='.', ecolor=colors[0])
|
||||
|
||||
ax.errorbar(h_i, kf_paul_10, yerr=kf_paul_10_error, linestyle='--', label=r'$k_f$, $(T=10K)$', capsize=3, fmt='.')
|
||||
ax.errorbar(h_i, kf_paul_80, yerr=kf_paul_80_errorbar, linestyle='-.',label=r'$k_f$, $(T=80K)$', capsize=3, fmt='.')
|
||||
ax.plot(h_i[0:3], kf_gerlich_25, '+:', label=r'$k_f$, Gerlich $(T=25K)$')
|
||||
ax.errorbar(h_i, kf_paul_10, yerr=kf_paul_10_error, linestyle='--', label=r'$k_f(T=10K)$, Paul', capsize=3, fmt='.', ecolor=colors[1])
|
||||
|
||||
#ax.errorbar(h_i[3:], kf_paul_80[3:], yerr=kf_paul_80_errorbar[3:], linestyle='-.',label=r'$k_f$, $(T=80K)$', capsize=3, fmt='.')
|
||||
ax.plot(h_i[0:3], k3_gerlich[1:4]*H2_gerlich, 'x-.', label=r'$k_f(T=25K)$, lower limit, Gerlich',color=colors[2])
|
||||
ax.plot(h_i[0:3], kf_paul_min80, linestyle=':', marker='+', markersize=9, label=r'$k_f(T=80K)$, linear scaled',color=colors[3])
|
||||
|
||||
ax.set_ylabel(r'Rate constant $k$ [cm$^{3}$s$^{-1}$]')
|
||||
ax.set_xlabel(r'Cluster size H$_i$')
|
||||
|
||||
ax.set_yscale('log')
|
||||
#ax.set_ylim((2.6E-16, 4.0E-8))
|
||||
|
||||
ax.legend(loc="lower right")
|
||||
|
||||
ax.set_xticks(h_i)
|
||||
|
||||
ax.set_facecolor('#e7e7e7ff')
|
||||
ax.grid(color='white')
|
||||
|
||||
plt.savefig(output_folder + "clustering_80k.pdf",bbox_inches='tight')
|
||||
plt.show()
|
||||
|
||||
(width, height) = pltStd.set_size('thesis')
|
||||
fig, ax = plt.subplots(1, 1, figsize=(width, height))
|
||||
|
||||
ax.errorbar(h_i, k3_paul_10*H2_paul, yerr=k3_paul_10_error*H2_paul, linestyle='--', label=r'$k_3 \cdot [H2]$', capsize=3, fmt='.')
|
||||
ax.errorbar(h_i, kf_paul_10, yerr=kf_paul_10_error, linestyle='-.', label=r'$k_f$', capsize=3, fmt='.')
|
||||
|
||||
ax.set_ylabel(r'Rate constant $k$ [cm$^{3}$s$^{-1}$]')
|
||||
ax.set_xlabel(r'Cluster size H$_i$')
|
||||
@@ -205,6 +248,11 @@ ax.legend(loc="lower right")
|
||||
|
||||
ax.set_xticks(h_i)
|
||||
|
||||
plt.savefig(output_folder + "clustering_80k.pdf",bbox_inches='tight')
|
||||
ax.set_facecolor('#e7e7e7ff')
|
||||
ax.grid(color='white')
|
||||
plt.savefig(output_folder + "clustering_10k_paul.pdf",bbox_inches='tight')
|
||||
plt.show()
|
||||
|
||||
|
||||
print(k3_paul_80*H2_katrin*H2_katrin)
|
||||
print(kf_paul_25)
|
||||
Reference in New Issue
Block a user