Vertices

External Email - Use Caution

Hi!
I'm trying to find vertices corresponding to a certain source estimate.
However, the vertex corresponding to center of mass doesn't seem to exist
in the list stc.vertices - is there a way of anyway finding neighboring
vertices?
I've read a very recent reply here on the mailing list so I know how to
construct a matrix of neighbors of vertices used in the source estimate.
I'm using oct=6, since using all vertices gives me memory errors.

Thanks,
Karin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180926/d8d225b4/attachment.html

Hi Karin,

Please set restrict_vertices to the instance of SourceSpaces in the
center_of_mass function.

This will restrict the returned vertex from the given source space.

Please see below for more details

https://martinos.org/mne/stable/generated/mne.Label.html#mne.Label.center_of_mass

Thanks

Sheraz

External Email - Use Caution

Thanks!

Den tors 27 sep. 2018 kl 00:55 skrev Sheraz Khan, PhD <
sheraz at nmr.mgh.harvard.edu>:

Hi Karin,

Please set restrict_vertices to the instance of SourceSpaces in the
center_of_mass function.

This will restrict the returned vertex from the given source space.

Please see below for more details

mne.Label — MNE 1.6.0 documentation

Thanks

Sheraz

> External Email - Use Caution
>
> Hi!
> I'm trying to find vertices corresponding to a certain source estimate.
> However, the vertex corresponding to center of mass doesn't seem to exist
> in the list stc.vertices - is there a way of anyway finding neighboring
> vertices?
> I've read a very recent reply here on the mailing list so I know how to
> construct a matrix of neighbors of vertices used in the source estimate.
> I'm using oct=6, since using all vertices gives me memory errors.
>
> Thanks,
> Karin
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> Mne_analysis Info Page

-------------------------
Sheraz Khan, M.Eng, Ph.D.
Instructor in Radiology

Athinoula A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital
Harvard Medical School

McGovern Institute for Brain Research
Massachusetts Institute of Technology

Tel: +1 617-643-5634
Fax: +1 617-948-5966
Email: sheraz at nmr.mgh.harvard.edu
       sheraz at mit.edu
Web: http://sheraz.mit.edu
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180928/b21a4371/attachment-0001.html