3. Terminology and Concepts¶
3.1 Core Terms¶
Spatial Index: N-dimensional coordinate system for organizing data (may include time). Number of space axes is
sid_ndim.Spatial Chunk: A region in spatial-index space containing vector data, addressed by an integer N-tuple in chunk-grid space.
Vertex: A point in N-dimensional space with associated data. Lives as one row inside a chunk’s
vertices/<chunk>byte blob.Fragment: A subset of rows of a chunk’s
vertices/<chunk>(and the parallel rows ofvertex_attributes/, the intra-chunk link array, …), expressed as either a contiguous range[start, count)or an explicit list of row indices. The unit of pyramid coarsening, object membership, and (when shared) row re-use. Carried invertex_fragments/<chunk>in the fragment-index byte layout.Fragment Index: The per-chunk byte layout that describes the F fragments inside one chunk’s
vertex_fragments/<chunk>(orlink_fragments/<chunk>). Header + range bitmap + range table + CSR explicit list (§7.3).Manifest Block: One entry in an object’s per-object manifest in
object_index/manifests. Names a chunk and references one or more fragments within that chunk via mode-0 (single), mode-1 (range), or mode-2 (explicit) encoding (§7.6).Object: A logical entity (a mesh, a streamline, a cell, a neuron, …) whose vertices may live in many fragments across many chunks. Identified by a dense object ID
[0, B).Group: A named collection of objects with no spatial extent — partitions the object set (cell types, brain regions, fascicle bundles, …). Stored as one ragged row per group in
groups.Channel Dimension: Per-vertex (or per-object, per-group) attribute axis carrying multi-channel data (gene expression, color, source/sink region pair, …).
Per-Level chunk_shape: Each pyramid level may override the root
chunk_shapeby a positive integer multiple per axis. Coarser levels can grow chunks the way OME-Zarr image pyramids do via voxel-size scaling.
3.2 Geometry Terms¶
Point Cloud: Unstructured collection of points (no links).
Mesh: Connected vertices forming surfaces or volumes; the
links/0/family carries faces (link_width = 3for triangles).Skeleton: Graph structure with parent links (
link_width = 1, most parents implicit underlinks_convention = "implicit_sequential_with_branches").Streamline / Polyline: Ordered sequence of connected points (
links_convention = "implicit_sequential"; nolinks/array).Path: A connected sequence within a skeleton.
3.3 Storage Terms¶
Zarr Store: The underlying Zarr v3 storage (filesystem, object store, transactional store …).
Zarr Array: A multi-dimensional array in Zarr v3 format. In Zarr Vectors, each per-spatial-chunk array is a single vlen-bytes array over the level’s chunk grid — one cell per spatial chunk — while the non-spatial arrays are single ragged or dense arrays at their logical path. Zarr handles compression and storage; Zarr Vectors handles record framing inside each cell’s payload.
Cell: One element of a per-chunk array — the payload bytes for exactly one spatial chunk. A spatial chunk at absolute coord
coccupies cellc - chunk_grid_origin, and its file lives at<array>/c/<i>/<j>/<k>.Chunk: In Zarr Vectors, the unit of spatial chunking — addressed by an N-tuple in chunk-grid space. The dot-separated form (
<i.j.k>) is how a chunk is named in metadata such asnonempty_chunks.chunk_scale_factor: The per-axis integer multiple of root
chunk_shapecarried by a per-level chunk_shape override Exposed bychunk_scale_factor(root_meta, level_meta).Metadata: Structured information stored in Zarr v3
zarr.jsonfiles under namespaced keys (zarr_vectors,zarr_vectors_level,zv_array).
3.4 Indexing Terms¶
Spatial Index Chunk: A region in spatial-index space; same as spatial chunk above.
Object Index: Index mapping object IDs to per-chunk manifest blocks (
object_index/manifests, one blob per object id). Optional whenobject_index_convention = "identity"and the store has exactly one spatial chunk; required otherwise.Cross-Chunk Link: A record in
links/<delta>/<offsets>/whose offsets segment is non-zero — that is, whose endpoints live in different chunks (and, whendelta ≠ 0, at different pyramid levels). This is not a separate kind of object: an intra-chunk link is a record in the same family whose offsets are all zero. Each record isL = link_widthchunk-local vertex indices; the chunk each endpoint lives in is recovered from the cell coordinate plus the offsets segment. See §10.6.Source Chunk: The chunk whose cell holds a link record. Offsets are relative to it, and the implicit zeroth offset is the source itself.
Resolution Level: A level in the multi-resolution pyramid, named by bare integer (
0/,1/, …,N/).Pyramid-Level Delta: The
<delta>segment inlinks/<delta>/<offsets>/andlink_attributes/<name>/<delta>/<offsets>/paths.delta = 0is intra-level;delta ≠ 0is cross-pyramid-level (optional — see §9.6).Offsets Segment: The path segment naming where a link record’s other endpoints sit relative to its source chunk —
link_width - 1signedsid_ndim-tuples, or the literalselfwhenlink_width = 1.
3.5 Convention Terms¶
links_convention∈{"explicit", "implicit_sequential", "implicit_sequential_with_branches"}: how intra-chunk links are stored.object_index_convention∈{"standard", "identity"}: whetherobject_index/is materialized ("identity"omits it for single-chunk stores).cross_chunk_strategy∈{"explicit_links", "boundary_deduplication", "both"}: how cross-chunk connectivity is represented.cross_level_storage∈{"none", "implicit", "explicit"}: whether (and which direction) of cross-pyramid-level link arrays to materialize (§9.6).coarsening_method∈{"per_object", "manual", "none"}: how a pyramid level was generated.
3.6 Capability Tokens¶
Optional features advertised in format_capabilities (see §8.2):
fragment_index— store uses the fragment-index encoding (mandatory).shared_fragments— per-chunk fragments may be referenced by multiple objects’ manifests.preserved_object_ids— at least one pyramid level inherits the parent OID space; dropped objects retain empty manifest slots.multiscale_links— store contains cross-pyramid-level link arrays (delta ≠ 0). It says nothing about chunk-spanning records, which are ordinary links.