neurofractal / analyse_OPMEG

Nic & Rob's lair of scripts to analyse OPM data, using the Fieldtrip toolbox
https://neurofractal.github.io/analyse_OPMEG/
MIT License
9 stars 1 forks source link

Issue with chanselection after spm2fieldtrp #39

Closed georgeoneill closed 2 years ago

georgeoneill commented 2 years ago

when exporting a MEEG object from SPM to a dat structure in Fieldtrip, ft_channelselection_opm falls over.

neurofractal commented 2 years ago

Hi George, think you can get round the issue by using:

ftraw = D.ftraw;
ft_channelselection({'all','-XXX'},ftraw.label)

Would you be able to share the data with me? Can't seem to get .hdr field to materialise in the tutorial data