NiBabel

Access a cacophony of neuro-imaging file formats

Previous topic

nibabel.loadsave.save

Next topic

nibabel.loadsave.read_img_data

Reggie -- the one

nibabel.loadsave.load

nibabel.loadsave.load(filename)

Load file given filename, guessing at file type

Parameters:

filename : string

specification of file to load

Returns:

img : SpatialImage

Image of guessed type