如何通过python读取Enobio8设备卵信号?

2024-10-04 05:26:01 发布

您现在位置:Python中文网/ 问答频道 /正文

我目前在一个BCI项目中工作。我们从Enobio8设备读取数据,然后记录文件。该文件与.info文件一起保存为.easy格式。你知道吗

下面是每个文件所包含内容的示例。你知道吗

1-脑电图信号.easy文件

-15741228   -38278653   -43620943   -6264171    -44769152   -32021816   -25153528   -4458642    0   1493932796323
-15739445   -38261326   -43603023   -6262245    -44751514   -32002525   -25150617   -4457181    0   1493932796325
-15735628   -38237066   -43565152   -6257521    -44719030   -31970720   -25144247   -4451606    0   1493932796327
-15745130   -38237608   -43547282   -6270067    -44708552   -31961981   -25153234   -4460206    0   1493932796329
-15750753   -38249011   -43547666   -6279803    -44713654   -31969142   -25159098   -4463804    0   1493932796331
-15753734   -38267076   -43566757   -6282550    -44733603   -31991900   -25162964   -4465650    0   1493932796333
-15748048   -38280731   -43597786   -6275811    -44755643   -32017350   -25157597   -4460308    0   1493932796335

2-脑电图信息.info文件

StartDate (first EEG timestamp): 1493932796309
Device class: Enobio8
Device MAC: 00:0X:XX:XX:XX:XX
NIC version: v1.4.10
Operative system: Windows 8
Firmware version: 1256
Line filter status: 50 Hz
Additional channel status: OFF
EOG correction status: OFF

Total number of channels: 8
Number of EEG channels: 8
Number of records of EEG: 21839
Number of packets lost: 0(0.00%)
EEG sampling rate: 500 Samples/second
EEG units: nV 
EEG montage:
Channel 1: Fp1
Channel 2: AF3
Channel 3: F3
Channel 4: xx
Channel 5: xxx
Channel 6: xxx
Channel 7: xxx
Channel 8: xxx

Trigger information:
Code    Description
1   
2   
3   
4   
5   
6   
7   
8   
9   

User notes:
xxx TCP-IP

现在我想使用MNE Python库来处理信号。我通过Enobio8设备NIC软件将.easy文件转换为.edf。你知道吗

我的问题如下:

  1. mnepython是正确的库还是有其他库可以处理这些类型的文件?

  2. 当我试图通过使用mne.io.read_raw_edf读取EEG文件时,有很多参数我应该包括,比如蒙太奇(更多信息请参考link),我如何创建这些参数,比如蒙太奇、eog和misc?

  3. 我必须提供所有这些参数吗?

  4. 蒙太奇文件应该是什么样子?


Tags: 文件ofinfo信息number参数信号status
1条回答
网友
1楼 · 发布于 2024-10-04 05:26:01

以下是我对你个人观点的回答:

Is MNE-Python is the right library to use? or there are other libraries that can deal with these type of files?

  1. 假设您有EDF格式的EEG数据,并且希望分析这些数据,那么如果您想用Python进行分析,mnepython将是一个很好的选择。不过,从问题的性质来看,使用基于GUI(图形用户界面)的方法(如基于Matlab的eeglab工具箱)分析数据可能会更容易一些。如果你没有Matlab,还有一个独立版本的eeglab(见我的链接)。你知道吗

When I tried to read the EEG file through the use of mne.io.read_raw_edf there are a lot of parameters I should include like the montage (refer to the link for more info) how can I create these parameters like montage, eog and misc?

  1. 见答案3。和4。-关于EOG和MISC,这些是从您记录数据的方式来看应该很明显的通道类型。眼睛附近的电极可以称为EOG。MISC通道可以是任何不记录EEG但记录其他数据的通道。你知道吗

Do I have to fill all of these parameters?

  1. 不,您必须提供的函数的唯一输入是.edf文件的路径。你知道吗

What should the montage file look like?

  1. MNE-Python中的蒙太奇文件可以从记录数据的文件中读取,也可以使用^{}Python类在10-20 system中创建标准蒙太奇。你知道吗

相关问题 更多 >