Expand description
Cold-path NQuin → Tensor10D baking (ingest / encode tier).
Hot-path queries read baked SOA volumes; this module runs at ingest only.
Enums§
- Scale
Tier - Scale tier for multi-scale spatial coordinate packing (§2.3)
Constants§
- PRED_
GEO_ PACKED_ BBOX_ MAX - PRED_
GEO_ PACKED_ BBOX_ MIN - PRED_
GEO_ PACKED_ CENTROID - PRED_
GEO_ VERTEX - PRED_
HAS_ SPECTRAL_ SHEET - Link to a registered acoustic resource. Registry indices are not file digests.
Functions§
- audio_
sidecar_ relpath - Zero-heap canonical path from the complete final-byte BLAKE3 digest. Returns0 without mutation when caller capacity is insufficient.
- bake_
quin_ to_ tensor - Bake a single NQuin into a ground-truth Tensor10D node.
- bake_
quins_ into - Write baked tensors into caller buffer; returns count written.
- decode_
packed_ coord - Decode
spatial_encode_wasmpacked coordinates from an object field. - decode_
scaled_ coord - Decode a 64-bit packed object into coordinates in meters along with its scale tier.
- encode_
scaled_ coord - Encode metric coordinates in meters into a 64-bit packed object with scale tier.
- is_
geo_ vertex_ quin - True when the Quin carries a baked geo coordinate payload (not a hash-proxy xyz).
- migrate_
unscaled_ mm_ quin - Migrate a legacy unscaled millimeter Quin to a target scale tier.
- semantic_
xyz_ from_ nquin - Semantic xyz: packed geo coords when present, else legacy hash spread.
- sigma_
sheet_ index_ from_ nquin - σ sheet index from baked NQuin object when
q42:hasSpectralSheetis present.