[Mne_analysis] Identifying adjacent sources

Alexandre Gramfort alexandre.gramfort at inria.fr
Sun Mar 4 15:29:27 EST 2018
Search archives:

i suppose you mean use_tris with _

it's normal to have twice more triangles than vertices.

see for example here:

https://github.com/mne-tools/mne-python/blob/master/mne/viz/_3d.py#L1444

how we get the triangles in low resolution with vertices index that go
from 0 to 581 in your case.

HTH
Alex


On Sat, Mar 3, 2018 at 10:58 PM, Gladia Hotan <gladiach at gmail.com> wrote:

> Hi Alex,
>
> I'm still not sure how to get the adjacency matrix, based on the example.
> It seems like lh_faces and rh_faces contain the faces from the original
> cortical parcellation, before some sources are removed? I have an ico 3
> source space. My leadfield matrix has 1162 sources in total. Thus
> fwd['src'][0]['vertno'].shape = 581 and fwd['src'][1]['vertno'].shape =
> 581. However, fwd['src'][0]['usetris'].shape = 1280 and
> fwd['src'][1]['usetris'].shape = 1280, so I'm not sure which faces
> correspond to which vertices?
>
> Thanks and Best,
> Gladia
>
> On Tue, Feb 6, 2018 at 5:26 AM, Alexandre Gramfort <
> alexandre.gramfort at inria.fr> wrote:
>
>> This is the old script I was pointing to:
>>
>> https://github.com/mne-tools/mne-python/blob/maint/0.4/examp
>> les/plot_read_forward.py
>>
>> HTH
>> Alex
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180304/97408d18/attachment.html 


More information about the Mne_analysis mailing list