Headers state their physical envelope
Each pack's header now states the physical envelope its certificate covers, in place of the scanner class it was read from. replay_envelope.acquisition says bound = "envelope", name = "connectome_2", band_hz = 1280 (the stored band: 256 bands per 100 ms window), G_max = 0.5 T/m per axis and B0_list = [1.5, 3, 7] T. This is exactly the envelope the released reader (dmipy-replay 0.2.0) already derives from the scanner-class header by its rule scanner_class/1; the header now states it instead of leaving it to the rule. provenance.envelope_stamp records the rule and the four class fields it replaced (bound, scanner, G_max, slew_max). No certificate term depends on the slew, so what the packs are certified for does not change.
What changes
packs/L4.0um_kappa100um_s.rpk,packs/L4.0um_kappa10um_s.rpk: the header'sreplay_envelope.acquisition(scannerandslew_maxleave;boundbecomesenvelope;nameandband_hzare added;G_maxandB0_listkeep their values) and the newprovenance.envelope_stamp. The header is 160 bytes longer, so the tensor data starts 160 bytes later in the file.manifest.json: the two packs'sha256andbytes, and the dataset summaryreplay_envelope.acquisition, stamped by the same rule. Nothing else.README.md: the certification table states the envelope in place of the scanner-class row.
What does not change
- Every tensor of both packs, byte for byte; the tensor table (names, dtypes, shapes, offsets within the data) is identical.
- The walk, the codec, the certificate (
fidelity) and every other header field. - Earlier revisions stay addressable; a reader pinned to c291104 reads exactly what it read before.
Verification (dmipy-replay 0.2.0 from PyPI)
- Bytes: the sha256 of every tensor's bytes (50 and 55 tensors) and of the whole data region is equal in the published and the stamped file. The header differs only under
replay_envelope.acquisitionandprovenance.envelope_stamp. - Reader: both files read with
ReplayPack.loadgive the sameEnvelope, and 12 of 12 replays per pack are bit-identical (complex signal). The replays cover:- PGSE across and along at b = 1000 and 3000 s/mm², and a 100 Hz cosine OGSE;
- bare diffusion, the wall contact at half the pack's bound, and the nominal tissue with the layer's field at 3 T;
- each at the planned read and at every stored band.
- Manifest: each row's
sha256andbytesare those of the stamped file, so the reader's hub check passes. The JSON diff against the published manifest is only those rows' two fields and the summary acquisition.
🤖 Generated with Claude Code
A second commit set removes a source-file reference from one string of each pack's header, walk_params.block.accumulation (the producer's description of its accumulation method), in 2 packs.
- Each file keeps its size; the header is re-serialised and padded to its old length, so the data region starts where it did and its sha256 is unchanged in every pack.
- The header JSON differs from this PR's previous commit at that one path only, in every pack (2 checked).
- Every uploaded file's LFS sha256 and size were checked against the local file.
manifest.json: the 2 rows state the new sha256; theirbytesare unchanged.- Nothing a reader reads changes: the replay does not read this string.
- Read-back: 2 packs fetched from this PR through the released reader's hub client (each sha256 checked against this PR's manifest) replay bit-identically to the published files: PASS.
🤖 Generated with Claude Code