# Channels4World schema reference Names, types, shapes and units of every file in release 1.0.0. The release's `schema/` folder holds the authoritative versions (`arrays.json`, `conventions.json`, `interaction-codes.json` and `release-profile.json`); every record header refers to `conventions.json` by its SHA-256. ## Numeric payloads Each numeric NPZ has the listed arrays and a scalar string `__meta__` containing JSON (`schema="wireless.npz-meta"`, `version=2`). Use `np.load(..., allow_pickle=False)`. NumPy dtype strings specify byte order: `<` = little endian; `|` = one-byte value. Dimensions below are per record: `L` retained links, `P` retained paths, `I` interactions, `B` BS positions, `U` UE positions. Every scene has `B=32` and `U=16384`; `L`, `P` and `I` vary. Counts, IDs, ranks and offsets are unitless integers. ### Core: one scene × carrier × BS | Exact name | NumPy dtype | Shape | Unit | Meaning | |---|---|---|---|---| | `link_ue_index` | ` −150` dB. Paths within a link are ordered by decreasing power computed in single (float32) precision; recomputing power in double precision can swap near-equal neighbours (differences below 1e-6 dB). The conventions document defines `path_rank` as the rank before the −150 dB threshold, with gaps retained. Because the threshold removes only the weakest candidates, the kept ranks are always the first ones, so `path_rank` equals the path's 0-based position within its link. In all of Tiny, `path_rank` and `interaction_rank` are contiguous and 0-based. ### Detail: same scene × carrier × BS and core path axis | Exact name | NumPy dtype | Shape | Unit | Meaning | |---|---|---|---|---| | `path_interaction_offsets` | `/catalog/members.parquet` | `record_id:string`, `object_path:string`, `member_path:string`, `data_offset:int64`, `member_bytes:int64`, `member_sha256:string` | | `groups//catalog/objects.parquet` | `object_path`, `object_bytes`, `object_sha256`: each archive's size and byte hash | | `groups//catalog/scenes.parquet` | The group's scenes, including `scene_id`, `scene_order`, `split` and `profile` | | `groups//catalog/records.parquet`, `geometry.parquet` | Per-record and per-geometry descriptions used by the library | | `groups//snapshot.json` | `wireless.numeric-snapshot` v1: conventions reference and each numeric record's declarations and content proofs | `data_offset` is the byte offset of member data in an uncompressed TAR, not the TAR header offset. `member_bytes` is the embedded NPZ/ZIP byte length. Together they locate one record's bytes inside an archive, so a byte-range read can fetch it without the rest of the archive. `member_path` is also the file's path after extraction. Subset roots keep the original group metadata and shared schemas; only the subset root's records table defines what the subset contains, and other group catalogs can remain present. Archives are plain, uncompressed POSIX ustar TARs with regular-file members only and normalized member metadata (mode 0644, uid and gid 0, mtime 0). A channel archive has 800 members (25 scenes × 32 BSs), ordered by `scene_order` and then by BS; a scene-asset archive has 25. ## Geometry Geometry is a ZIP rather than a numeric NPZ. `scene.json` identifies an `entrypoint` XML; the archive also contains Mitsuba XML and OBJ meshes in metres. Preserve their relative paths when extracting. Its identity uses null carrier and BS, like positions. ## Library API used on the card ```text open(path) -> Dataset Dataset.select(*, split=None, tier=None, profile=None, scene_ids=None, frequencies_hz=None, bs_ids=None, components=("core", "positions", "geometry")) -> Selection Dataset.profiles; Dataset.scene(scene_id) -> Scene Scene.profile; Scene.frequencies[integer_Hz].base_stations[integer_BS] BaseStation.read(detail=False, verify="basic") -> Record Scene.read_positions(verify="basic") -> Positions Record.ue_ids; Record.core; Record.detail; Record.get_link(ue_id) extract(selection, dest, *, verify="basic", check_space=True, skip_existing=False, confirm=None) -> Path to_cache(selection, dest, *, verify="basic", check_space=True, confirm=None) -> Path ``` Selections are lazy; `read()` performs payload I/O and returns read-only arrays. Use copies for manipulation. `Selection.missing()` distinguishes requested missing files from unpublished components. `verify="basic"` checks published bytes and declared structure; `verify="full"` additionally checks scientific rules and content proofs. Core/detail association is checked together on a full read of both components. Optional `channels4world.transforms` functions operate on a loaded record and return new writable arrays: `complex_gain(rec)`, `path_power_db(rec)`, `delay_spread(rec)`, `baseband_coefficients(rec, delay_reference="absolute")`, and `frequency_response(rec, offsets_hz, delay_reference="absolute", max_elements=1<<22)`. These describe retained paths only. `frequency_response` takes offsets from the record's carrier, not absolute carrier frequencies. A local NPY cache stores parts by group/component/carrier, with one NPY per array and an index; numeric arrays can then be memory-mapped. This changes the local representation, not the scene tier. [Return to dataset card](../README.md)