Skip to content

webknossos.geometry.mag

Classes:

  • Mag

    Represents the magnification level of a data layer. For example, the finest

Mag

Represents the magnification level of a data layer. For example, the finest quality is usually not downsampled and is represented by Mag(1). When data is downsampled by a factor of 4 in all dimensions, this is referred to as Mag(4). When data is downsampled anisotropically by 2 in x and y and not downsampled in z, this is referred to as Mag(2, 2, 1).

Methods:

Attributes:

max_dim property

max_dim: int

max_dim_log2 property

max_dim_log2: int

x property

x: int

y property

y: int

z property

z: int

to_layer_name

to_layer_name() -> str

to_list

to_list() -> List[int]

to_long_layer_name

to_long_layer_name() -> str

to_np

to_np() -> ndarray

to_tuple

to_tuple() -> Tuple[int, int, int]

to_vec3_int

to_vec3_int() -> Vec3Int