[Mne_analysis] "equalized" source spaces

Marijn van Vliet w.m.vanvliet at gmail.com
Wed Aug 30 07:16:56 EDT 2017
Search archives:

Dear all,

I'm trying to obtain for two subjects, source spaces in such a way that 
vertices with the same index are located at roughly the same position on 
the cortex of both subjects.

My first attempt was to use fsaverage as an intermediary for this:

morph fsaverage --> sub001 --> source space for sub001
morph fsaverage --> sub002 --> source space for sub002

In code:

fsaverage = mne.setup_source_space('fsaverage', 
spacing='oct6',subjects_dir=subjects_dir,add_dist=False)
sub001_src = mne.morph_source_spaces(fsaverage, 'sub001', 
subjects_dir=subjects_dir)
sub002_src = mne.morph_source_spaces(fsaverage, 'sub002', 
subjects_dir=subjects_dir)

However, this does not produce the desired source spaces. While the 
number and positions of the vertices now match, the ordering of the 
vertices in sub001_src and sub002_src is different.

I can provide a testing script for this on the ds117 "faces" dataset if 
necessary.

regards,
Marijn.




More information about the Mne_analysis mailing list