Thank you very much for your advice, I just tried to do it.
This is my code:
This is my error:
data = mne.io.read_raw_fif("/sss.fif",preload=False)
data.drop_channels(
["EOG001","ECG003","IASX+","IASX-","IASY+","IASY-","IASZ+","IASZ-","IAS_DX","IAS_DY","IAS_X","IAS_Y","IAS_Z","MISC001","STI001","STI002","STI003","STI004","STI005","STI006","STI007","STI008","STI009","STI010","STI011","STI012","STI013","STI014","STI015","STI016","STI101","SYS201","EOG001","ECG003","IASX+","IASX-","IASY+","IASY-","IASZ+","IASZ-","IAS_DX","IAS_DY","IAS_X","IAS_Y","IAS_Z","MISC001","STI001","STI002","STI003","STI004","STI005","STI006","STI007","STI008","STI009","STI010","STI011","STI012","STI013","STI014","STI015","STI016","STI101","SYS201"]
info = data.info
df = pd.read_csv("/r.csv",)
finfo = mne.create_info(info.ch_names,1,'misc')
mne.viz.plot_topomap(df, finfo)
it will report bug:
File “/mne/lib/python3.9/site-packages/mne/io/pick.py”, line 538, in pick_info
raise ValueError(‘No channels match the selection.’)
No channels match the selection.
finfo = mne.create_info(info.ch_names,1,‘eeg’)
mne.viz.plot_topomap(df, finfo)
it will report bug:
File “/mne/lib/python3.9/site-packages/mne/channels/layout.py”, line 690, in _auto_topomap_coords
raise RuntimeError(‘No digitization points found.’)
RuntimeError: No digitization points found.