webknossos.dataset.properties
¶
AxisProperties
¶
DatasetProperties
¶
data_layers
instance-attribute
¶
data_layers: List[Union[SegmentationLayerProperties, LayerProperties]]
default_view_configuration
class-attribute
instance-attribute
¶
default_view_configuration: Optional[DatasetViewConfiguration] = None
DatasetViewConfiguration
¶
Stores information on how the dataset is shown in webknossos by default.
LayerProperties
¶
default_view_configuration
class-attribute
instance-attribute
¶
default_view_configuration: Optional[LayerViewConfiguration] = None
LayerViewConfiguration
¶
Stores information on how the dataset is shown in webknossos by default.
alpha
class-attribute
instance-attribute
¶
alpha: Optional[float] = None
Alpha value from 0 to 100. The WEBKNOSSOS default is 100 except for segmentation layers where it is 20.
color
class-attribute
instance-attribute
¶
color: Optional[Tuple[int, int, int]] = None
Color in RGB from 0 to 255. The WEBKNOSSOS default is [255, 255, 255].
intensity_range
class-attribute
instance-attribute
¶
intensity_range: Optional[Tuple[float, float]] = None
Min and max data value range (dependent on the layer's data type). Can be used to threshold the value range. The WEBKNOSSOS default is the full value range.
is_disabled
class-attribute
instance-attribute
¶
is_disabled: Optional[bool] = None
Disable a layer. The WEBKNOSSOS default is False.
is_in_edit_mode
class-attribute
instance-attribute
¶
is_in_edit_mode: Optional[bool] = None
Enable the histogram edit mode. The WEBKNOSSOS default is False.
is_inverted
class-attribute
instance-attribute
¶
is_inverted: Optional[bool] = None
Invert a layer. The WEBKNOSSOS default is False.
mapping
class-attribute
instance-attribute
¶
mapping: Optional[Dict[str, str]] = None
Enables ID mapping for a segmentation layer and applies the selected mapping by default. The default WK behavior is to disable ID mapping. Expected values is a Dict with {"name": my_mapping_name, "type": "HDF5"}.
max
class-attribute
instance-attribute
¶
max: Optional[float] = None
Maximum data value that might be encountered. This will restrict the histogram in WEBKNOSSOS and possibly overwrite
the max value of the intensityRange
(if that is higher).
min
class-attribute
instance-attribute
¶
min: Optional[float] = None
Minimum data value that might be encountered. This will restrict the histogram in WEBKNOSSOS and possibly overwrite
the min value of the intensityRange
(if that is lower).
MagViewProperties
¶
SegmentationLayerProperties
¶
Bases: LayerProperties
default_view_configuration
class-attribute
instance-attribute
¶
default_view_configuration: Optional[LayerViewConfiguration] = None
VoxelSize
¶
factor
class-attribute
instance-attribute
¶
factor: Tuple[float, float, float] = field(converter=float_tpl)
SegmentationLayerProperties
¶
Bases: LayerProperties
default_view_configuration
class-attribute
instance-attribute
¶
default_view_configuration: Optional[LayerViewConfiguration] = None
- Get Help
- Community Forums
- Email Support