Headers state their physical envelope
Browse filesEach 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's `replay_envelope.acquisition` (`scanner` and `slew_max` leave; `bound` becomes `envelope`; `name` and `band_hz` are added; `G_max` and `B0_list` keep their values) and the new `provenance.envelope_stamp`. The header is 160 bytes longer, so the tensor data starts 160 bytes later in the file.
- `manifest.json`: the two packs' `sha256` and `bytes`, and the dataset summary `replay_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.acquisition` and `provenance.envelope_stamp`.
- Reader: both files read with `ReplayPack.load` give the same `Envelope`, 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 `sha256` and `bytes` are 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](https://claude.com/claude-code)
- README.md +1 -1
- manifest.json +9 -9
- packs/L4.0um_kappa100um_s.rpk +2 -2
- packs/L4.0um_kappa10um_s.rpk +2 -2
|
@@ -17,7 +17,7 @@ A closed slab of 4 µm along x, split at its middle by a membrane of permeabilit
|
|
| 17 |
|
| 18 |
| | |
|
| 19 |
|---|---|
|
| 20 |
-
|
|
| 21 |
| Field | B₀ of 1.5, 3 or 7 T, χ up to the substrate's |
|
| 22 |
| Numerical error | ≤ 2.5 × 10⁻³, half the 5 × 10⁻³ floor (`fidelity.err_max` against `fidelity.target_floor`) |
|
| 23 |
|
|
|
|
| 17 |
|
| 18 |
| | |
|
| 19 |
|---|---|
|
| 20 |
+
| Envelope | `connectome_2`: band 1280 Hz (256 bands per 100 ms window), G_max 0.5 T/m per axis, B₀ list 1.5, 3, 7 T (`replay_envelope.acquisition` in each header); any waveform inside it |
|
| 21 |
| Field | B₀ of 1.5, 3 or 7 T, χ up to the substrate's |
|
| 22 |
| Numerical error | ≤ 2.5 × 10⁻³, half the 5 × 10⁻³ floor (`fidelity.err_max` against `fidelity.target_floor`) |
|
| 23 |
|
|
@@ -5,8 +5,8 @@
|
|
| 5 |
{
|
| 6 |
"id": "permeable-slab/L4.0um-kappa100um_s",
|
| 7 |
"path": "packs/L4.0um_kappa100um_s.rpk",
|
| 8 |
-
"sha256": "
|
| 9 |
-
"bytes":
|
| 10 |
"n_walkers": 40000,
|
| 11 |
"T_max": 0.1,
|
| 12 |
"block": {
|
|
@@ -47,8 +47,8 @@
|
|
| 47 |
{
|
| 48 |
"id": "permeable-slab/L4.0um-kappa10um_s",
|
| 49 |
"path": "packs/L4.0um_kappa10um_s.rpk",
|
| 50 |
-
"sha256": "
|
| 51 |
-
"bytes":
|
| 52 |
"n_walkers": 40000,
|
| 53 |
"T_max": 0.1,
|
| 54 |
"block": {
|
|
@@ -108,12 +108,12 @@
|
|
| 108 |
7.0
|
| 109 |
],
|
| 110 |
"note": "temporal band set by max OGSE period / min delta",
|
| 111 |
-
"bound": "scanner_class",
|
| 112 |
-
"scanner": "connectome_2",
|
| 113 |
-
"G_max": 0.5,
|
| 114 |
-
"slew_max": 600.0,
|
| 115 |
"field_modes": 16,
|
| 116 |
-
"max_refocusing_pulses": 8
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
},
|
| 118 |
"tissue": {
|
| 119 |
"rho2_over_D_max": 1500.0,
|
|
|
|
| 5 |
{
|
| 6 |
"id": "permeable-slab/L4.0um-kappa100um_s",
|
| 7 |
"path": "packs/L4.0um_kappa100um_s.rpk",
|
| 8 |
+
"sha256": "7cdd05ce871bd4adf06a318cfe6279b55425767fcaf36c591a31649de6ff3063",
|
| 9 |
+
"bytes": 43494148,
|
| 10 |
"n_walkers": 40000,
|
| 11 |
"T_max": 0.1,
|
| 12 |
"block": {
|
|
|
|
| 47 |
{
|
| 48 |
"id": "permeable-slab/L4.0um-kappa10um_s",
|
| 49 |
"path": "packs/L4.0um_kappa10um_s.rpk",
|
| 50 |
+
"sha256": "2940141c2eb650ba62eb9539e9c8bcdf1f72417f1c92816145a35ad94b1ca76f",
|
| 51 |
+
"bytes": 40402762,
|
| 52 |
"n_walkers": 40000,
|
| 53 |
"T_max": 0.1,
|
| 54 |
"block": {
|
|
|
|
| 108 |
7.0
|
| 109 |
],
|
| 110 |
"note": "temporal band set by max OGSE period / min delta",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
"field_modes": 16,
|
| 112 |
+
"max_refocusing_pulses": 8,
|
| 113 |
+
"bound": "envelope",
|
| 114 |
+
"name": "connectome_2",
|
| 115 |
+
"band_hz": 1280.0,
|
| 116 |
+
"G_max": 0.5
|
| 117 |
},
|
| 118 |
"tissue": {
|
| 119 |
"rho2_over_D_max": 1500.0,
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cdd05ce871bd4adf06a318cfe6279b55425767fcaf36c591a31649de6ff3063
|
| 3 |
+
size 43494148
|
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2940141c2eb650ba62eb9539e9c8bcdf1f72417f1c92816145a35ad94b1ca76f
|
| 3 |
+
size 40402762
|