NiBabel

Access a cacophony of neuro-imaging file formats

Table Of Contents

Previous topic

processing

Next topic

pydicom_compat

Reggie -- the one

py3k

Python 3 compatibility tools.

Copied from numpy/compat/py3k.

Please prefer the routines in the six module when possible.

BSD license

FileNotFoundError
asbytes_nested(x)
asunicode(s)
asunicode_nested(x)
getexception()
ints2bytes(seq)
isfileobj(f)
open_latin1(filename[, mode])

FileNotFoundError

class nibabel.py3k.FileNotFoundError

Bases: exceptions.IOError

__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

asbytes_nested

nibabel.py3k.asbytes_nested(x)

asunicode

nibabel.py3k.asunicode(s)

asunicode_nested

nibabel.py3k.asunicode_nested(x)

getexception

nibabel.py3k.getexception()

ints2bytes

nibabel.py3k.ints2bytes(seq)

isfileobj

nibabel.py3k.isfileobj(f)

open_latin1

nibabel.py3k.open_latin1(filename, mode='r')