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

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Thu Mar 6 16:04:37 EST 2014
Search archives:

hi Matt,

I have not tried but I suspect the problem comes from the use of BiHemiLabel.
I suspect a bug. In the mean time I recommend you work separately with the
left and right labels.

pull request welcome as usual.

Alex


On Wed, Mar 5, 2014 at 11:19 PM, Matt Erhart <mattjerhart at gmail.com> wrote:
> Here's a gist for that.  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 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(stc_mean_label, 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.
>>>
>>
>
>
> _______________________________________________
> 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