Skip to content

webknossos.utils

LazyPath

LazyPath(*paths: Path)

paths instance-attribute

paths: tuple[Path, ...] = tuple(paths)

resolution class-attribute instance-attribute

resolution: Optional[int] = None

resolve

resolve() -> Path

resolved classmethod

resolved(path: Path) -> LazyPath

LazyReadOnlyDict

LazyReadOnlyDict(entries: Dict[K, C], func: Callable[[C], V])

Bases: Mapping[K, V]

entries instance-attribute

entries = entries

func instance-attribute

func = func

NDArrayLike

Bases: Protocol

dtype property

dtype: dtype

ndim property

ndim: int

shape property

shape: Tuple[int, ...]