class neuroglancer.read_precomputed_skeletons.SkeletonReader(
    
read_precomputed_annotations.AnnotationMap[
        
int, osteoid.skeleton.Skeleton
    ]
)

Provides read access to the :ref`Precomputed skeleton format<precomputed-skeleton-format>`.

Constructors

SkeletonReader(base_spec: Any | Spec...)

Constructs a skeleton reader.

Accessors

coordinate_spaceCoordinateSpace

Coordinate space of annotations.

Public members

__getitem__(key: int-> osteoid.skeleton.Skeleton

Reads a given key.

__contains__(key: int-> bool

Checks if a given key is present.

get(key: int...-> Future[osteoid.skeleton.Skeleton | None]

Reads a given key, returning a Future.

async get_async(key: int...-> osteoid.skeleton.Skeleton

Asynchronously reads a given key.

metadatadict[str, Any]

Raw JSON metadata associated with this annotation index.