def _get_window(start, end):
"""Return window which has length as much as parameter start - end"""
from scipy.signal import hann
window = 1 - np.r_[hann(4)[:2],
np.ones(np.abs(end - start) - 4),
hann(4)[-2:]].T
return window
stim.py 文件源码
python
阅读 29
收藏 0
点赞 0
评论 0
评论列表
文章目录