python-3.x - 将 EEG edf 转换为找到的重复项时出现 RuntimeWarning:{'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)
解决方案
推荐阅读
- python - 需要每个 br 标签之间的文本
- powershell - 需要为每个 SQL Server 打开 PSSession 才能运行查询
- php - 如何通过 PHP 代码运行终端窗口
- php - 使用 PHP PDO 将数据库列从 0 更新为 1
- swift - 选择节点控制动画
- c - 这个递归函数可以在没有 `trav` 指针的情况下工作吗
- python - 无法连接到主机 discordapp.com:443 ssl:None for discord.py
- html - 带背景的 CSS 旋转文本显示一些背景问题
- c# - C# DLL - 使用 DataTable 返回数据
- c# - UnityWebRequestAssetBundle.GetAssetBundle:为什么下载不使用可用带宽?