Add the cosine OGSE class cos-f50-T20 (50 Hz, one 20 ms period each side of the 180, edges 200 T/m/s as built at b = 1000) from the quantised replay pack; group g0's tiers
#2
by rfick - opened
- README.md +19 -16
- disco/manifest.json +0 -0
- disco/p_cos-f50-T20.npy +3 -0
README.md
CHANGED
|
@@ -10,21 +10,23 @@ tags:
|
|
| 10 |
|
| 11 |
# DiSCo time segments
|
| 12 |
|
| 13 |
-
The DiSCo replay walk, contracted at DiSCo's own
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
**Choose the dataset by the question.** Use this one for an acquisition
|
| 19 |
-
other knob stays free. Use the replay pack for any other waveform: another δ or Δ, OGSE, an arbitrary gradient.
|
| 20 |
|
| 21 |
## What a timing class leaves free
|
| 22 |
|
| 23 |
-
Each class fixes the
|
| 24 |
-
a class, everything else is chosen at replay time:
|
| 25 |
|
| 26 |
- the b-value and direction of every measurement, up to the class's gradient amplitude;
|
| 27 |
-
- the per-voxel delivered gradient (gradient nonlinearity, a background gradient);
|
| 28 |
- T₂ and T₁ per pool, and surface relaxivity ρ₂ ≤ 3 µm/s;
|
| 29 |
- B₀ of 1.5, 3 or 7 T in any direction, and myelin χ up to 2 × 10⁻⁷, isotropic and anisotropic.
|
| 30 |
|
|
@@ -37,10 +39,11 @@ a class, everything else is chosen at replay time:
|
|
| 37 |
| `d17-D30` | δ 17, Δ 30 | spin echo, TE 53.5 |
|
| 38 |
| `d17.7-D35.8` | δ 17.7, Δ 35.8 | spin echo, TE 53.5 |
|
| 39 |
| `ste-d7.6-TM38.3` | δ 7.6, mixing time 38.3 | stimulated echo |
|
|
|
|
| 40 |
|
| 41 |
Each class's widths are derived at the 1.003 % floor. The layout's own error bound is in `disco/manifest.json` under
|
| 42 |
-
`certificate`, term by term. Against the replay pack, 16 voxels in
|
| 43 |
-
a combined bound of 3.0 × 10⁻³.
|
| 44 |
|
| 45 |
## Use me
|
| 46 |
|
|
@@ -63,10 +66,10 @@ wm = Tissue(T2={"intra": 0.05, "extra": 0.055, "myelin": 0.01}, rho2=1e-6, chi_i
|
|
| 63 |
S_3T, _ = layout.image(seq, tissue=wm, scanner=3.0) # relaxation, wall contact and the sheath field at 3 T
|
| 64 |
```
|
| 65 |
|
| 66 |
-
`layout.fit(seq)` names the class a sequence fits, or says why it fits none
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
|
| 71 |
## Files
|
| 72 |
|
|
@@ -74,7 +77,7 @@ call.
|
|
| 74 |
|---|---|
|
| 75 |
| `disco/manifest.json` | grid, classes and their segments, widths, certificate, provenance |
|
| 76 |
| `disco/w.npy`, `disco/tiles.npy`, `disco/pool.npy` | each row's weight, its voxel half, and its pool |
|
| 77 |
-
| `disco/p_<class>.npy` | each class's
|
| 78 |
| `disco/t_g0.npy`, `disco/t_g1.npy` | the relaxation, contact and field tiers of the spin-echo and stimulated-echo groups |
|
| 79 |
| `disco/bg_g0.npy`, `disco/bg_g1.npy` | the background-gradient term of each group |
|
| 80 |
|
|
|
|
| 10 |
|
| 11 |
# DiSCo time segments
|
| 12 |
|
| 13 |
+
The DiSCo replay walk, contracted at eight gradient waveforms -- DiSCo's own timings, the replay paper's clinical,
|
| 14 |
+
research and Connectome 2.0 timings, a stimulated echo and a cosine OGSE -- so that a whole-grid image costs one pass
|
| 15 |
+
over 133 bytes per walker. It comes from the same 321,138,027 walkers as the replay pack in
|
| 16 |
+
[SubstrateCommons/disco-replay](https://huggingface.co/datasets/SubstrateCommons/disco-replay). The seven square-lobe
|
| 17 |
+
classes were contracted from the walk's unquantised coefficients beside each shard; the OGSE class from the
|
| 18 |
+
quantised replay pack, its quantisation charged in its own certificate term.
|
| 19 |
|
| 20 |
+
**Choose the dataset by the question.** Use this one for an acquisition on one of the waveforms below, where every
|
| 21 |
+
other knob stays free. Use the replay pack for any other waveform: another δ or Δ, another OGSE, an arbitrary gradient.
|
| 22 |
|
| 23 |
## What a timing class leaves free
|
| 24 |
|
| 25 |
+
Each class fixes the waveform's shape in time: a square-lobe class's terms are constant-gradient intervals, the OGSE
|
| 26 |
+
class's two terms are its cosine blocks as stored. Within a class, everything else is chosen at replay time:
|
| 27 |
|
| 28 |
- the b-value and direction of every measurement, up to the class's gradient amplitude;
|
| 29 |
+
- the per-voxel delivered gradient (gradient nonlinearity, a background gradient; square-lobe classes);
|
| 30 |
- T₂ and T₁ per pool, and surface relaxivity ρ₂ ≤ 3 µm/s;
|
| 31 |
- B₀ of 1.5, 3 or 7 T in any direction, and myelin χ up to 2 × 10⁻⁷, isotropic and anisotropic.
|
| 32 |
|
|
|
|
| 39 |
| `d17-D30` | δ 17, Δ 30 | spin echo, TE 53.5 |
|
| 40 |
| `d17.7-D35.8` | δ 17.7, Δ 35.8 | spin echo, TE 53.5 |
|
| 41 |
| `ste-d7.6-TM38.3` | δ 7.6, mixing time 38.3 | stimulated echo |
|
| 42 |
+
| `cos-f50-T20` | cosine 50 Hz, one 20 ms period each side of the 180, edges ramped at 200 T/m/s as built at b = 1000 s/mm² | spin echo, TE 53.5 |
|
| 43 |
|
| 44 |
Each class's widths are derived at the 1.003 % floor. The layout's own error bound is in `disco/manifest.json` under
|
| 45 |
+
`certificate`, term by term. Against the replay pack, 16 voxels in the seven square-lobe classes agree to 2.2 × 10⁻⁵,
|
| 46 |
+
and in the OGSE class to 2.2 × 10⁻⁴ bare and 4.5 × 10⁻⁴ with every tier at 3 T, against a combined bound of 3.0 × 10⁻³.
|
| 47 |
|
| 48 |
## Use me
|
| 49 |
|
|
|
|
| 66 |
S_3T, _ = layout.image(seq, tissue=wm, scanner=3.0) # relaxation, wall contact and the sheath field at 3 T
|
| 67 |
```
|
| 68 |
|
| 69 |
+
`layout.fit(seq)` names the class a sequence fits, or says why it fits none; an OGSE row is the class's stored shape
|
| 70 |
+
scaled to its b (`layout.partitions["cos-f50-T20"].shapes`). `partitions=None` fetches every class (43 GB).
|
| 71 |
+
`resident=False` streams the packed words to the device a chunk at a time: one class of the whole grid with every
|
| 72 |
+
tier in about 3.4 GB (dmipy-sim#823); `resident=True` keeps them there across calls (about 21 GB with the tiers).
|
| 73 |
|
| 74 |
## Files
|
| 75 |
|
|
|
|
| 77 |
|---|---|
|
| 78 |
| `disco/manifest.json` | grid, classes and their segments, widths, certificate, provenance |
|
| 79 |
| `disco/w.npy`, `disco/tiles.npy`, `disco/pool.npy` | each row's weight, its voxel half, and its pool |
|
| 80 |
+
| `disco/p_<class>.npy` | each class's term vectors, packed |
|
| 81 |
| `disco/t_g0.npy`, `disco/t_g1.npy` | the relaxation, contact and field tiers of the spin-echo and stimulated-echo groups |
|
| 82 |
| `disco/bg_g0.npy`, `disco/bg_g1.npy` | the background-gradient term of each group |
|
| 83 |
|
disco/manifest.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
disco/p_cos-f50-T20.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b494163e97ceab755a4b0feb0ade9a2381f267a08f56f5ca5c4bef2edb5a55df
|
| 3 |
+
size 2587748480
|