The header states its physical envelope
The layout's header now states the physical envelope its certificate covers, in place of the scanner class it was read from. meta.replay_envelope.acquisition in disco/manifest.json 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. meta.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 pack is certified for does not change.
What changes
disco/manifest.json:meta.replay_envelope.acquisition(scannerandslew_maxleave;boundbecomesenvelope;nameandband_hzare added;G_maxandB0_listkeep their values) and the newmeta.provenance.envelope_stamp. Nothing else in the file.README.md: the certification table states the envelope in place of the scanner-class row.
What does not change
- Every column file under
disco/columns/, anddisco/index.json: this PR does not touch them, and the manifest's column table (paths and byte layout) is identical. - The walk, the codec, the certificate (
meta.fidelity) and every other header field. - Earlier revisions stay addressable; a reader pinned to b06eb41 reads exactly what it read before.
Verification (dmipy-replay 0.2.0 from PyPI)
- A JSON diff of the published and the stamped manifest: only the paths above differ, and the column table is identical.
- The layout opened twice with
ReplayPack.open("hf://SubstrateCommons/disco-replay/disco")at b06eb41: once as published, once with the stamped manifest in place of the published one, every column range-read from the Hub. Fifteen of fifteen comparisons are bit-identical:- the envelope derived from each header;
bands_for_envelopefor theprisma,connectomandconnectome_2presets (215, 115, and the same refusal forconnectome_2, below);- the read plans;
imageover three voxels, for PGSE across and along at b = 1000 and 3000 s/mm² and a 100 Hz cosine OGSE, bare and with T2, wall contact and the myelin field at 3 T;view(...).replayof the same voxels (30,389 walkers) at every stored band and field mode, complex.
Note: the current catalogue's envelope_of("connectome_2") asks 1344 Hz (269 bands per 100 ms), more than the 1280 Hz this layout stores, and the reader refuses it for this layout before and after the stamp alike. The stamped name is the class the walk was certified for; its band_hz is the band stored.
🤖 Generated with Claude Code