if 1:
- infiles1 = sorted(glob('chip01/*.npz'))
- infiles2 = sorted(glob('chip02/*.npz'))
+ infiles1 = sorted(glob('chip01/201*.npz'))
+ infiles2 = sorted(glob('chip02/201*.npz'))
def loadrun(infiles):
cal_values = []
]
-if 1:
+if 0:
#
# trajectories
#
#
# histograms
#
- fig = figure(figsize=(3.5, 2.5))
+ fig = figure(figsize=(3.5, 2.1))
- subplots_adjust(top=0.93,
+ subplots_adjust(top=0.92,
bottom=0.25,
left=0.13,
right=0.98,
xlim((data.min()-2, data.max()+2))
ax.set_xticklabels(xlabels,
size='small',
- rotation=90)
+ rotation=90,
+ y=0.05)
title(r'%s' % names[i], fontname='courier', fontsize='medium')
ax.set_yticklabels([''] * len(ax.get_yticks()))
ax.set_xticks(xlabels)
ax.set_xticklabels(xlabels,
size='small',
- rotation=90)
+ rotation=90,
+ y=0.05)
xlim((-100, 100))
ax.set_yticklabels([''] * len(ax.get_yticks()))
fig.text(0.01, 0.59, 'Relative bin counts', rotation=90,
va='center')
- fig.text(0.56, 0.01, 'Output offsets (mV)',
+ fig.text(0.56, 0.0, 'Output offsets (mV)',
ha='center',
va='bottom')