The relationship between the amount of vertices and the size of one label

Dear all,

I am making the functional labels, and I want to reject the labels less
than radius=5mm. But I only have the information of vertices within each
functional label.
Does anyone know how to transfer the vertices information into the size?
Thanks a lot.

Best wishes,
Qunxi Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20160830/6793e909/attachment.html

Dear Qunxi Dong,

the source space object contains a distance matrix that measures the
distance from each vertex to each other vertex. See this gist for an
example how to use this to calculate the size of a label on the MNE
example data:

https://gist.github.com/wmvanvliet/d77450d3dfe2607e9d317612f10e7d25

regards,
Marijn.

Dear Marijin,

That is indeed useful for me, thanks a lot!

Best wishes,
Qunxi Dong

2016-08-30 14:43 GMT+08:00 Marijn van Vliet <w.m.vanvliet at gmail.com>:

Dear Qunxi Dong,

the source space object contains a distance matrix that measures the
distance from each vertex to each other vertex. See this gist for an
example how to use this to calculate the size of a label on the MNE example
data:

Example on how to compute the size of a label on the cortex with MNE · GitHub

regards,
Marijn.

Dear all,

I am making the functional labels, and I want to reject the labels less
than radius=5mm. But I only have the information of vertices within each
functional label.
Does anyone know how to transfer the vertices information into the size?
Thanks a lot.

Best wishes,
Qunxi Dong

_______________________________________________
Mne_analysis mailing listMne_analysis at nmr.mgh.harvard.eduhttps://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 athttp://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
Mne_analysis Info Page

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
MyComplianceReport.com: Compliance and Ethics Reporting . 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/20160830/15452aa4/attachment.html