preprocess.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:srep 作者: Answeror 项目源码 文件源码
def _get_amp(data, framerate, num_semg_row, num_semg_col):
    data = np.abs(data)
    data = np.transpose([lowpass(ch, 2, framerate, 4, zero_phase=True) for ch in data.T])
    return [median_filter(image, 3).mean() for image in data.reshape(-1, num_semg_row, num_semg_col)]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号