epochs.plot_topo_image(vmin=-250,vmax=250,title='ERF images',sigma=2.,fig_facecolor='w',font_color='k')
一种是plot_image,它将每个epochs显示为图像地图的一行,颜色代表信号大小;图像下方显示了平均诱发响应和传感器位置. aud_epochs.plot_image(picks=['MEG 1332', 'EEG 021']) 1. Not setting metadata Not setting metadata 136 matching events found No baseline correction applied 0 projection items activated 0...
epochs.plot_image(278,cmap='interactive',sigma=1.,vmin=-250,vmax=250) 319 matching events found No baseline correction applied Not setting metadata 0 projection items activated 0 bad epochs dropped 这里还可以通过计算全局字段功率(或其他聚合方法)来概述所有通道。但是,以这种方式组合多个通道类型(例如ME...
epochs = mne.Epochs(raw_haemo, events, event_id=event_dict, tmin=tmin, tmax=tmax, reject=reject_criteria, reject_by_annotation=True, proj=True, baseline=(None, 0), preload=True, detrend=None, verbose=True)#epochs.plot_drop_log() #日志可视化分段 Not setting metadata 90 matching events ...
为了一眼就可以看到所有的epoch,可以使用函数mne.epoch.plot_image()将各个通道绘制为图像。 它可以显示信号在所有时间点上的振幅,加上激活的平均(诱发响应)。 显式地将交互式colorbar设置为on(默认情况下也是on,以使用除topo绘图以外的colorbar来绘制函数)。在交互模式下,可以通过鼠标滚动和上下箭头键来缩放和改变...
evoked.plot(exclude=[], time_unit='s') plt.show() 将结果以二维图片的形式显示 (x: time, y: channels, color: amplitude) evoked.plot_image(exclude=[], time_unit='s') plt.show() 文章来源于"脑机接口社区" Python-EEG工具库MNE中文教程(4)-MNE中数据结构Evoked及其对象创建...
evoked.plot_image(exclude=[], time_unit='s') plt.show() b. MNE 从头创建Evoked对象 在实际过程中,有时需要从头自动构建数据来创建Evoked对象, 方式:利用mne.EvokedArray创建Evoked对象,创建时直接构建numpy数组即可,数组的形状必须是(n_epochs, n_chans, n_times) ...
epochs['WORD in {}'.format(words)].plot_image(show=False) plt.show() """ 注意,传统的epoch子选择仍然有效。 传统的选择epoch的MNE方法将取代丰富的元数据查询。 """epochs['cent'].average().plot(show=False, time_unit='s') plt.show() ...
For example, to run the MNE-Python version v0.23.0 image, with plotting capabilities, mount the local directory, and start up a notebook server run: docker run -p 8888:8888 -v `pwd`:/home/mne_user ghcr.io/mne-tools/mne-python-plot:v0.23.0 jupyter-lab --ip="*" Dockerhub Building...
mne-tools/mne-python-plot: adds 2D and 3D plotting capabilities to the mne-python-jupyter image. Several versions of the image are stored that correspond to different MNE-Python versions. Images are also build with from the main branch of MNE-Python, these contain dev in the name. For exam...