|
@@ -105,11 +105,11 @@ class ChannelPainter(object):
|
|
|
ax, fig = fig_create()
|
|
|
x = np.array([d - self._start_time for d in range(self._start_time, self._end_time)])
|
|
|
|
|
|
- window = np.ones(10) / 10
|
|
|
+ window = np.ones(60) / 60
|
|
|
for _chname, _card_type, _spec, _data in gen:
|
|
|
succ, count, y = calc_chratios(_data, pos_map, self._start_time - day_stamp, self._end_time - day_stamp)
|
|
|
print(_chname)
|
|
|
- # y = np.convolve(y, window, 'same')
|
|
|
+ y = np.convolve(y, window, 'same')
|
|
|
ax.plot(x, y, ls='-', label=self._label(chname=_chname, succ=succ, count=count, card_type=_card_type, spec=_spec))
|
|
|
|
|
|
ticks = [d - self._start_time for d in range(self._start_time, self._end_time + 1, self._interval)]
|