AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
August 04, 2014 08:14AM
tobiamj Wrote:
-------------------------------------------------------
> after generating both lh and rh
> surfaces in SUMA, is there a way to reorder the
> nodes of the right hemisphere to match the anatomy
> of the left hemi?

There is a function in PyMVPA [github.com/PyMVPA/PyMVPA] that can compute such a mapping. The function is get_sphere_left_right_mapping in mvpa2.support.nibabel.surf.

[github.com]

In python do something like:

from mvpa2.suite import *
surf_lh=surf.from_any('sphere_rh.reg.asc')
surf_rh=surf.from_any('sphere_lh.reg.asc')
mapping=surf.get_sphere_left_right_mapping(surf_lh, surf_rh)

and now mapping is a dictionary mapping node indices from the left to right hemisphere (and vice versa; the mapping is its own inverse).

To apply this mapping to NIML datasets, consider the afni_niml_dset module in mvpa2.support.nibabel.
Subject Author Posted

contralateral surfaces in SUMA

michael tobia July 31, 2014 04:08PM

Re: contralateral surfaces in SUMA

ziad August 01, 2014 11:36PM

Re: contralateral surfaces in SUMA

nick August 04, 2014 08:14AM

Re: contralateral surfaces in SUMA

michael tobia August 04, 2014 03:13PM