fsleyes.displaycontext.tensoropts
¶
This module provides the TensorOpts
class, which defines
options for displaying GLTensor
instances.
-
class
fsleyes.displaycontext.tensoropts.
TensorOpts
(*args, **kwargs)[source]¶ Bases:
fsleyes.displaycontext.vectoropts.VectorOpts
The
TensorOpts
class defines options for displayingGLTensor
instances.-
lighting
= <MagicMock name='mock.Boolean()' id='3031712864'>¶ Enables a basic lighting model on the tensor ellipsoids.
-
tensorResolution
= <MagicMock name='mock.Int()' id='3030091688'>¶ Tensor ellipsoid resolution - this value controls the number of vertices used to represent each tensor. It is ultimately passed to the
routines.unitSphere()
function.
-
__module__
= 'fsleyes.displaycontext.tensoropts'¶
-
tensorScale
= <MagicMock name='mock.Percentage()' id='3026847008'>¶ Scaling factor - by default, the tensor ellipsoids are scaled such that the biggest tensor (as defined by the first principal eigenvalue) fits inside a voxel. This parameter can be used to adjust this scale.
-
__init__
(*args, **kwargs)[source]¶ Create a
TensorOpts
instance. All arguments are passed through toVectorOpts.__init__()
.
-