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