若手研究会@越後湯沢
物性研の石井君達が主催で若手研究会が越後湯沢でありました。発表と温泉と懇親会をみんな楽しんでいた様子で大成功でした。来年もやるそう。
#10 keV ver
import glob
import numpy as np
import matplotlib.pyplot as plt
from cycler import cycler
# %matplotlib tk
%matplotlib inline
config = {
'lines.linewidth':1.5,
'xtick.direction': 'in',
'ytick.direction': 'in',
'font.sans-serif': ['Helvetica', 'Arial'],
'font.family': ['sans-serif'],
'font.size': 12,
'figure.dpi': 200,
'legend.fontsize': 'small', # 'medium',
'figure.figsize': [8, 6],
'lines.markersize': 3.0,
'legend.frameon': True,
'lines.markersize': 3.0,
'savefig.transparent': True,
'lines.markeredgewidth': 0.7,
'lines.markerfacecolor': 'w',
'legend.edgecolor': '0',
'legend.facecolor': [1, 1, 1],
'legend.framealpha': 1,
# plt.rcParams.keys()
}
plt.rcParams.update(config)
flist = sorted(glob.glob('./0100/dat/*.txt'))
fig = plt.figure()
ax = fig.add_axes([0.2, 0.2, 0.6, 0.6])
flist = flist[::1]
d = len(flist)
cnt = 1
for i in flist:
dat = np.loadtxt(i, encoding='cp932').T
lab = i[-17 : -11]
labb = float(lab.replace("-", "."))
ax.plot(np.rad2deg(np.arcsin(np.sin(np.deg2rad(dat[0])) * (1.29 / 1.54)))
, dat[1] + labb * 30
, label = (str(round(labb + 0.1)) + ' K')
, color = [cnt / d, 0.2, 1 - cnt / d]
)
cnt += 1
ax.legend(ncol = 2)
ax.set_xlim(27.3, 27.9)
# ax.set_ylim(0, 4500)
ax.set_xlabel('2$θ$ (degree)')
ax.set_ylabel('x-ray count')
ax.set_title('PYCCO $y = 0.1$')
fig.savefig('t0100.pdf')
fig.savefig('t0100.png')
コメント
コメントを投稿