[Mne_analysis] Distance between sources on different hemispheres?

Eric Larson larson.eric.d at gmail.com
Fri Feb 22 16:18:28 EST 2019
Search archives:

        External Email - Use Caution        

Those source space distances are along the cortical surface as defined by
Freesurfer. Since left and right hemis are separate surfaces, you can't use
that algorithm to get distances between hemispheres. You can instead use a
simple Euclidean distance instead, e.g.
`np.linalg.norm(src[0]['rr'][vertno_idx_left] -
src[1]['rr'][vertno_idx_right]`.

Eric


On Fri, Feb 22, 2019 at 4:07 PM Gladia Hotan <gladiach at gmail.com> wrote:

>         External Email - Use Caution
>
> Hi,
>
> The function mne.add_source_space_distances calculates the distances
> between sources on the same hemisphere, but is there a way to get the
> distances between sources on different hemispheres as well?
>
> Thanks and Best,
> Gladia
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190222/4dad3d20/attachment.html 


More information about the Mne_analysis mailing list