siibra.volumes.volume

A specific mesh or 3D array.

Functions

from_array(data, affine, space, name)

Builds a siibra volume from an array and an affine matrix.

from_file(filename, space, name)

Builds a nifti volume from a filename.

from_nifti(nifti, space, name)

Builds a nifti volume from a Nifti image.

from_pointset(points[, label, target, normalize])

Get the kernel density estimate as a volume from the points using their average uncertainty on target volume.

merge(volumes[, labels])

Merge a list of volumes in the same space into a single volume.

Classes

Subvolume(parent_volume, z)

Wrapper class for exposing a z level of a 4D volume to be used like a 3D volume.

Volume(space_spec, providers[, name, ...])

A volume is a specific mesh or 3D array, which can be accessible via multiple providers in different formats.