visbrain.objects.BrainObj.slice

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

Take a slice of the brain.

Parameters
xmin, xmaxfloat | None

Cut the mesh along the x-dimension.

ymin, ymaxfloat | None

Cut the mesh along the y-dimension.

zmin, zmaxfloat | None

Cut the mesh along the z-dimension.