[Mne_analysis] Correspondence of source space with parcellation : another doubt ...

thierry nieus thierry.nieus at unimi.it
Fri Sep 6 06:57:47 EDT 2019
Search archives:

        External Email - Use Caution        

Dear all,

I am still stuck with the correspondence of the source space with
parcellation.
I have a much better understanding on how functions&data are organized
after Mina Jamshidi's feedback on that but I am still missing something.
I thought that sources were organized the same way as the parcellation
(source 1 corresponds to vertices 1 in the parcellation etc...). So, for a
given source space (e.g. ico 4, 2562 sources per hemisphere) I would expect
to find the vertices 0...2561 in the parcellation. Although there is a good
correspondence between source, parcellation and lobes I cannot locate all
my sources in the parcellation.

For instance, if I run the following:

import numpy as np
import mne
label=mne.read_labels_from_annot('fsaverage',parc='aparc',hemi='lh')
vertices=np.zeros(0,int)
for lab in label: vertices=np.hstack((vertices,lab.vertices))
vertices=np.sort(vertices)
print(vertices[2561])

I expected to get 2561 instead of 2792 so there is something about my
belief that is wrong.

Does someone can help me to sort this out?

Thanks in advance

Thierry

-- 
Department of Biomedical and Clinical Sciences "Luigi Sacco"
University of Milan
Phone: +39 02 503 19731
via G. B. Grassi 74 - 20157 Milano
<https://maps.google.com/?q=via+G.+B.+Grassi+74+-+20157+Milano&entry=gmail&source=g>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190906/bdcae9b9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.jpg
Type: image/jpeg
Size: 15760 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190906/bdcae9b9/attachment-0001.jpg 


More information about the Mne_analysis mailing list