[Mne_analysis] Generate a functional label from source estimates in rh or both

Matt Erhart mattjerhart at gmail.com
Wed Mar 5 17:19:26 EST 2014
Search archives:

Here's a gist for that.  <https://gist.github.com/mattjerhart/9377713>
Thanks!


On Wed, Mar 5, 2014 at 1:44 PM, Denis-Alexander Engemann <
denis.engemann at gmail.com> wrote:

> Hi Matt,
>
> could you share a snippet based on the sample data so we can reproduce the
> problem?
> I've recently used this function a lot for both hemispheres (after setting
> the sub-threshold vertices to zero).
>
> Best,
> Denis
>
>
> On Wed, Mar 5, 2014 at 10:40 PM, Matt Erhart <mattjerhart at gmail.com>wrote:
>
>> When I attempt to create a functional label using the example script<http://martinos.org/mne/stable/auto_examples/inverse/plot_label_from_stc.html#example-inverse-plot-label-from-stc-py>in the lh, it works well on my data. I am, however, having a lot of trouble
>> getting the rh or both hemispheres to work. Specifically, when I specify
>> 'rh' or 'both' for hemi, I get an empty result for
>>
>>
>>
>> func_labels, _ = mne.stc_to_label <http://martinos.org/mne/stable/generated/mne.stc_to_label.html#mne.stc_to_label>(stc_mean_label <http://martinos.org/mne/stable/generated/mne.SourceEstimate.html#mne.SourceEstimate>, src=src, smooth=5,
>>                                   subjects_dir=subjects_dir, connected=True)
>>
>> Do I have to do some function calls not in the example to get rh or both
>> to work?
>>
>> thanks,
>> Matt
>>
>>
>>
>> _______________________________________________
>> 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/20140305/2607bedc/attachment.html 


More information about the Mne_analysis mailing list