hi sebastian,
I would now like to create my own curvature overlay (similar to the
> thickness file) by assigning non-zero values to neighboring verteces to a
> selected vertex and zero to others. My question is: is there any way I can
> save a numpy array to a "morphometric" file using nibabel or
Hi Satra,
thank you very much - this has been tremendously helpful. I have now
identfied neighbouring verteces within a certain distance using networkx
and all_pairs_dijkstra_path_length.
I would now like to create my own curvature overlay (similar to the
thickness file) by assigning non-zero val
hi sebastian,
please take a look at pysurfer (https://github.com/nipy/pysurfer) and
nibabel (https://github.com/nipy/nibabel).
the relevant code is here:
https://github.com/nipy/nibabel/blob/master/nibabel/freesurfer/io.py
cheers,
satra
On Mon, Jul 15, 2013 at 9:11 AM, Sebastian Urchs
wrote:
Hi,
I am trying to figure out how to load thickness data into python such that
I would be able to identify the thickness at a given mesh node and also
identify surrounding nodes. I searched the mailinglist and found this
http://www.mail-archive.com/freesurfer@nmr.mgh.harvard.edu/msg07307.html but