MNE学习笔记(五):三种数据结构(Raw、Epoch及Evoked)的差异

MNE学习笔记(五):三种数据结构(Raw、Epoch及Evoked)的差异

数据结构RawEpochEvoked
类型连续型数据 (continuous data)不连续型数据 (discontinuous data)诱发信号/平均数据 (evoked/averaged data)
描述Raw对象主要用来存储连续型数据,核心数据为n_channels和times,也包含Info对象。Epochs objects are a data structure for representing and analyzing equal-duration chunks of the EEG/MEG signal.Evoked objects typically store an EEG or MEG signal that has been averaged over multiple epochs, which is a common technique for estimating stimulus-evoked activity.
部分属性(ch_names, times, n_times)(n_epochs, n_channels, n_times)(n_channels, n_times)
创建方式1. 通过读取.fif文件生成Raw对象:mne.io.read_raw_fif(fname)1. 通过Raw对象和事件点(event times):mne.find_events()+mne.Epochs()
2. 通过读取.fif文件数据生成Epoch对象:mne.read_events()+mne.Epochs()
3. 通过mne.EpochsArray从头创建Epoch对象:mne.EpochsArray()
1. 从Epochs对象中创建Evoked对象:mne.read_evokeds()
2. 从头创建Evoked对象:mne.EvokedArray()
可视化https://mne.tools/stable/auto_tutorials/epochs/20_visualize_epochs.htmlhttps://mne.tools/stable/auto_tutorials/evoked/20_visualize_evoked.html
文档https://mne.tools/stable/generated/mne.io.Raw.html#mne.io.Rawhttps://mne.tools/stable/generated/mne.Epochs.html#mne.Epochshttps://mne.tools/stable/generated/mne.Evoked.html#mne.Evoked

补充1:部分属性含义

  • ch_names : channel names

  • times : an array of the sample times in seconds

  • n_times : the total number of samples

  • n_epochs : the number of epochs

  • n_channels : the number of channels

补充2:第四种数据结构 (SourceEstimate) 文档

  • https://mne.tools/stable/generated/mne.SourceEstimate.html#mne.SourceEstimate

补充3:MNE各个类、函数等API查询网站

  • https://mne.tools/stable/python_reference.html
  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值