webknossos.dataset.properties
Stores information on how the dataset is shown in webknossos by default.
#  
DatasetViewConfiguration(
four_bit: Union[bool, NoneType] = None,
interpolation: Union[bool, NoneType] = None,
render_missing_data_black: Union[bool, NoneType] = None,
loading_strategy: Union[str, NoneType] = None,
segmentation_pattern_opacity: Union[int, NoneType] = None,
zoom: Union[float, NoneType] = None,
position: Union[Tuple[int, int, int], NoneType] = None,
rotation: Union[Tuple[int, int, int], NoneType] = None
)
Method generated by attrs for class DatasetViewConfiguration.
#  
interpolation: Union[bool, NoneType] = <member 'interpolation' of 'DatasetViewConfiguration' objects>
#  
render_missing_data_black: Union[bool, NoneType] = <member 'render_missing_data_black' of 'DatasetViewConfiguration' objects>
#  
loading_strategy: Union[str, NoneType] = <member 'loading_strategy' of 'DatasetViewConfiguration' objects>
#  
segmentation_pattern_opacity: Union[int, NoneType] = <member 'segmentation_pattern_opacity' of 'DatasetViewConfiguration' objects>
#  
position: Union[Tuple[int, int, int], NoneType] = <member 'position' of 'DatasetViewConfiguration' objects>
#  
rotation: Union[Tuple[int, int, int], NoneType] = <member 'rotation' of 'DatasetViewConfiguration' objects>
Stores information on how the dataset is shown in webknossos by default.
#  
LayerViewConfiguration(
color: Union[Tuple[int, int, int], NoneType] = None,
alpha: Union[float, NoneType] = None,
intensity_range: Union[Tuple[float, float], NoneType] = None,
min: Union[float, NoneType] = None,
max: Union[float, NoneType] = None,
is_disabled: Union[bool, NoneType] = None,
is_inverted: Union[bool, NoneType] = None,
is_in_edit_mode: Union[bool, NoneType] = None
)
Method generated by attrs for class LayerViewConfiguration.
#  
color: Union[Tuple[int, int, int], NoneType] = <member 'color' of 'LayerViewConfiguration' objects>
#  
intensity_range: Union[Tuple[float, float], NoneType] = <member 'intensity_range' of 'LayerViewConfiguration' objects>
#  
is_disabled: Union[bool, NoneType] = <member 'is_disabled' of 'LayerViewConfiguration' objects>
#  
is_inverted: Union[bool, NoneType] = <member 'is_inverted' of 'LayerViewConfiguration' objects>
#  
is_in_edit_mode: Union[bool, NoneType] = <member 'is_in_edit_mode' of 'LayerViewConfiguration' objects>
Method generated by attrs for class MagViewProperties.
#  
resolution: webknossos.geometry.mag.Mag = <member 'resolution' of 'MagViewProperties' objects>
#  
LayerProperties(
name: str,
category: str,
bounding_box: webknossos.geometry.bounding_box.BoundingBox,
element_class: str,
wkw_resolutions: List[webknossos.dataset.properties.MagViewProperties],
data_format: str,
num_channels: Union[int, NoneType] = None,
default_view_configuration: Union[webknossos.dataset.properties.LayerViewConfiguration, NoneType] = None
)
Method generated by attrs for class LayerProperties.
#  
bounding_box: webknossos.geometry.bounding_box.BoundingBox = <member 'bounding_box' of 'LayerProperties' objects>
#  
wkw_resolutions: List[webknossos.dataset.properties.MagViewProperties] = <member 'wkw_resolutions' of 'LayerProperties' objects>
#  
default_view_configuration: Union[webknossos.dataset.properties.LayerViewConfiguration, NoneType] = <member 'default_view_configuration' of 'LayerProperties' objects>
#  
SegmentationLayerProperties(
name: str,
category: str,
bounding_box: webknossos.geometry.bounding_box.BoundingBox,
element_class: str,
wkw_resolutions: List[webknossos.dataset.properties.MagViewProperties],
data_format: str,
num_channels: Union[int, NoneType] = None,
default_view_configuration: Union[webknossos.dataset.properties.LayerViewConfiguration, NoneType] = None,
largest_segment_id: int = -1,
mappings: List[str] = []
)
Method generated by attrs for class SegmentationLayerProperties.
#  
largest_segment_id: int = <member 'largest_segment_id' of 'SegmentationLayerProperties' objects>
#  
DatasetProperties(
id: Dict[str, str],
scale: Tuple[float, float, float],
data_layers: List[Union[webknossos.dataset.properties.SegmentationLayerProperties, webknossos.dataset.properties.LayerProperties]],
default_view_configuration: Union[webknossos.dataset.properties.DatasetViewConfiguration, NoneType] = None
)
Method generated by attrs for class DatasetProperties.
#  
data_layers: List[Union[webknossos.dataset.properties.SegmentationLayerProperties, webknossos.dataset.properties.LayerProperties]] = <member 'data_layers' of 'DatasetProperties' objects>
#  
default_view_configuration: Union[webknossos.dataset.properties.DatasetViewConfiguration, NoneType] = <member 'default_view_configuration' of 'DatasetProperties' objects>
#  
def
disambiguate_layer_properties(obj: dict, _: Any) -> webknossos.dataset.properties.LayerProperties:
Stores information on how the dataset is shown in webknossos by default.
#  
cls(
color: Union[Tuple[int, int, int], NoneType] = None,
alpha: Union[float, NoneType] = None,
intensity_range: Union[Tuple[float, float], NoneType] = None,
min: Union[float, NoneType] = None,
max: Union[float, NoneType] = None,
is_disabled: Union[bool, NoneType] = None,
is_inverted: Union[bool, NoneType] = None,
is_in_edit_mode: Union[bool, NoneType] = None
)
Method generated by attrs for class LayerViewConfiguration.
#  
color: Union[Tuple[int, int, int], NoneType] = <member 'color' of 'LayerViewConfiguration' objects>
#  
intensity_range: Union[Tuple[float, float], NoneType] = <member 'intensity_range' of 'LayerViewConfiguration' objects>
#  
is_disabled: Union[bool, NoneType] = <member 'is_disabled' of 'LayerViewConfiguration' objects>
#  
is_inverted: Union[bool, NoneType] = <member 'is_inverted' of 'LayerViewConfiguration' objects>
#  
is_in_edit_mode: Union[bool, NoneType] = <member 'is_in_edit_mode' of 'LayerViewConfiguration' objects>