I worked on several higher-level tools as well at the recent NeuroHackWeek 
(based partly on Dr. Cottaar’s tools). I’m working with the NiBabel and 
NiWidgets groups to get some of these incorporated into future releases, but 
for now the provisional scripts are available at 
https://github.com/neurohackweek/NHW_visualization/blob/master/ciftitools.py . 
The parent github also has some jupyter notebooks with (fairly unpolished) 
examples using HCP data.

Current functions:
cread: simplified loading of cifti files
csave: simplified saving of cifti files
clthresh: zero data below threshold
cuthresh: zero data above threshold
cmask: mask one cifti file with nonzero values from a second cifti file
cinfo: print useful cifti header metadata
cvoxels: return array of subcortical voxel coordinates
csplit: split cifti file into two gifti and one nifti file for e.g. Display

If you wind up using these, please let me know any feedback! Happy to help if 
you have questions.
-Ely

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to