NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.gifti.gifti.GiftiDataArray

Next topic

nibabel.gifti.gifti.GiftiLabel

Reggie -- the one

nibabel.gifti.gifti.GiftiImage

digraph inheritanced241f8aed5 { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "GiftiImage" [shape=ellipse,URL="#nibabel.gifti.gifti.GiftiImage",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,color=dodgerblue1,style=filled,height=0.75]; }

class nibabel.gifti.gifti.GiftiImage(meta=None, labeltable=None, darrays=None, version='1.0')
add_gifti_data_array(dataarr)

Adds a data array to the GiftiImage

Parameters:dataarr : GiftiDataArray
filename

alias of str

getArraysFromIntent(intent)

Returns a a list of GiftiDataArray elements matching the given intent

get_labeltable()
get_metadata()
numDA

alias of int

print_summary()
remove_gifti_data_array(ith)

Removes the ith data array element from the GiftiImage

remove_gifti_data_array_by_intent(intent)

Removes all the data arrays with the given intent type

set_labeltable(labeltable)

Set the labeltable for this GiftiImage

Parameters:labeltable : GiftiLabelTable
set_metadata(meta)

Set the metadata for this GiftiImage

Parameters:meta : GiftiMetaData
Returns:None :
to_xml()

Return XML corresponding to image content

version

alias of str