[Mne_analysis] MNEpy stc to label

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Wed Apr 9 02:29:33 EDT 2014
Search archives:

hi Kam,

can you reproduce this on the sample dataset?

if not can you share a minimum set of files to reproduce the problem?

Alex


On Tue, Apr 8, 2014 at 9:10 PM, Kambiz Tavabi <ktavabi at uw.edu> wrote:
> Hi all,
> I am trying to use `mne.stc_to_label` to generate the freesurfer label for
> connected non-zero vertices. When I pass the `connected=True` argument I
> receive an index error i.e., "index 4098 is out of bounds for axis 0 with
> size 4098" at ln 667 of label.py. I am using an oct-6 surface source space
> with c. 10000 vertices of which 4098 are in use.
>
> However, when I pass `connected=False` the list of labels is returned. Can
> someone tell me why this occurs? and how to get the list of connected
> labels?
>
> regards,
> Kam
>
>
> ------------------------------------------------------------
> Kambiz Tavabi PhD
> Institute for Learning & Brain Sciences
> 1715 Columbia Road N
> Portage Bay Building
> Box 357988
> University of Washington
> Seattle, WA 98195-7988
> Tel: 206-685-6173
> ------------------------------------------------------------
>
> _______________________________________________
> 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.
>



More information about the Mne_analysis mailing list