mne.viz.plot_topomap 的颜色条? Python

问题描述

关于原始(非诱发)数据的 mne 拓扑图函数我有两个问题。

1.有没有办法给地形图添加颜色条?使用诱发数据是可能的,但这里我有原始数据...... 2. 是否可以将传感器点绘制得更大一些?

这是代码(我希望这是足够的信息?):

ch_names = mat_data['EEG']['chanlocs']['labels']
info = mne.create_info(ch_names,ch_types=['eeg']*64,sfreq=sampling_freq)
raw = mne.io.RawArray(data,info)
raw.set_montage('standard_1005')

%matplotlib qt
mne.viz.plot_topomap(tmp_data,raw.info,cmap='Spectral_r',sensors = True,vmin=16,vmax=26)

如果您认为有更好的方法来绘制地形图,我可以为地形图使用不同的函数:)

非常感谢!!

解决方法

下面是这个问题的答案: https://mne.discourse.group/t/mne-viz-plot-topomap-and-color-bar/3141/4