Did I find the right examples for you? yes no

All Samples(11)  |  Call(10)  |  Derive(0)  |  Import(1)

src/c/m/cmp-HEAD/scratch/compute_coords.py   cmp(Download)
g = nx.read_gpickle(netwdesc)
 
surf_lh = gi.read(surfs_lh)
vert_lh = surf_lh.darrays[0].data
face_lh = surf_lh.darrays[1].data
hemilab_lh = gi.read(hemilabels_lh)
hemilabdi_lh = hemilab_lh.labeltable.get_labels_as_dict()
 
surf_rh = gi.read(surfs_rh)
vert_rh = surf_rh.darrays[0].data
face_rh = surf_rh.darrays[1].data
hemilab_rh = gi.read(hemilabels_rh)
hemilabdi_rh = hemilab_rh.labeltable.get_labels_as_dict()
 

src/n/i/nipy-0.3.0/nipy/labs/spatial_models/discrete_domain.py   nipy(Download)
    """
    if isinstance(mesh, basestring):
        from nibabel.gifti import read
        mesh_ = read(mesh)
    else:

src/c/v/cvu-0.3/cvu/preprocessing.py   cvu(Download)
def loadannot_gifti(fname):
	import nibabel.gifti
	annot_lh=nibabel.gifti.read(hemineutral(fname)%'lh')
	annot_rh=nibabel.gifti.read(hemineutral(fname)%'rh')
 

src/c/v/cvu-0.3/cvu/cvu_utils.py   cvu(Download)
def loadannot_gifti(fname):
	import nibabel.gifti
	annot_lh=nibabel.gifti.read(hemineutral(fname)%'lh')
	annot_rh=nibabel.gifti.read(hemineutral(fname)%'rh')
 

src/c/m/cmp-HEAD/scratch/ideas/atlas_creation_idea.py   cmp(Download)
import nibabel.gifti as gi
 
a=gi.read('rh.inflated.gii')
vert = a.darrays[0].data
face = a.darrays[1].data