visbrain.objects.BrainObj.slice

BrainObj.slice(xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None)[source][source]

Take a slice of the brain.

Parameters:
xmin, xmax : float | None

Cut the mesh along the x-dimension.

ymin, ymax : float | None

Cut the mesh along the y-dimension.

zmin, zmax : float | None

Cut the mesh along the z-dimension.