nibabel.streamlines

Multiformat-capable streamline format read / write interface

Functions

detect_format(fileobj)

Returns the StreamlinesFile object guessed from the file-like object.

is_supported(fileobj)

Checks if the file-like object if supported by NiBabel.

load(fileobj[, lazy_load])

Loads streamlines in RAS+ and mm space from a file-like object.

save(tractogram, filename, **kwargs)

Saves a tractogram to a file.