nibabel.cifti2.cifti2

Read / write access to CIFTI-2 image format

Format of the NIFTI2 container format described here:

Definition of the CIFTI-2 header format and file extensions can be found at:

Classes

Cifti2BrainModel([index_offset, ...])

Element representing a mapping of the dimension to vertex or voxels.

Cifti2Header([matrix, version])

Class for CIFTI-2 header extension

Cifti2Image([dataobj, header, nifti_header, ...])

Class for single file CIFTI-2 format image

Cifti2Label([key, label, red, green, blue, ...])

CIFTI-2 label: association of integer key with a name and RGBA values

Cifti2LabelTable()

CIFTI-2 label table: a sequence of Cifti2Labels

Cifti2Matrix()

CIFTI-2 Matrix object

Cifti2MatrixIndicesMap(...[, ...])

Class for Matrix Indices Map

Cifti2MetaData([metadata])

A list of name-value pairs

Cifti2NamedMap([map_name, metadata, label_table])

CIFTI-2 named map: association of name and optional data with a map index

Cifti2Parcel([name, voxel_indices_ijk, vertices])

CIFTI-2 parcel: association of a name with vertices and/or voxels

Cifti2Surface([brain_structure, ...])

Cifti surface: association of brain structure and number of vertices

Cifti2TransformationMatrixVoxelIndicesIJKtoXYZ([...])

Matrix that translates voxel indices to spatial coordinates

Cifti2VertexIndices([indices])

CIFTI-2 vertex indices: vertex indices for an associated brain model

Cifti2Vertices([brain_structure, vertices])

CIFTI-2 vertices - association of brain structure and a list of vertices

Cifti2Volume([volume_dimensions, ...])

CIFTI-2 volume: information about a volume for mappings that use voxels

Cifti2VoxelIndicesIJK([indices])

CIFTI-2 VoxelIndicesIJK: Set of voxel indices contained in a structure

Exceptions

Cifti2HeaderError

Error in CIFTI-2 header