RuntimeWarning,同时将 EEG edf 转换为找到的重复项:{'T8-P8'}

问题描述

我是 EEG 的 edf 文件格式的新手,所以当我尝试将 edf 转换为 CVS 时出现错误

<ipython-input-47-29e11a4df1ba>:3: RuntimeWarning:

Channel names are not unique,found duplicates for: {'T8-P8'}. Applying running numbers for duplicates

这是代码

import numpy as np
import mne
edf = mne.io.read_raw_edf('/content/drive/MyDrive/Project/chb01_01.edf')
header = ','.join(edf.ch_names)
np.savetxt('/content/drive/MyDrive/Project/chb01_01.csv',edf.get_data().T,delimiter=',',header=header)

数据集来自https://physionet.org/content/chbmit/1.0.0/chb01/

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)