Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ S = pack.replay(waveform, relaxation=True)
|
|
| 22 |
|
| 23 |
| Substrate | Replay tiers | Size | License |
|
| 24 |
|---|---|---|---|
|
| 25 |
-
| [`cactus-axons/single-bundle-g070-icvf061-3T`](cactus-axons/single-bundle-g070-icvf061-3T.md) | C0 C1 C2 |
|
| 26 |
| [`canonical-wm/g070-f055-3T`](canonical-wm/g070-f055-3T.md) | C0 | 18.23 MB | CC-BY-4.0 |
|
| 27 |
|
| 28 |
Each substrate links to its own **substrate card** with geometry, provenance, fidelity and load/replay instructions. Tier legend: C0 gradient · C1 bulk relaxation · C2 surface relaxivity · C3 field · C4 magnetization transfer.
|
|
|
|
| 22 |
|
| 23 |
| Substrate | Replay tiers | Size | License |
|
| 24 |
|---|---|---|---|
|
| 25 |
+
| [`cactus-axons/single-bundle-g070-icvf061-3T`](cactus-axons/single-bundle-g070-icvf061-3T.md) | C0 C1 C2 C3 C4 | 46.65 MB | CC-BY-4.0 |
|
| 26 |
| [`canonical-wm/g070-f055-3T`](canonical-wm/g070-f055-3T.md) | C0 | 18.23 MB | CC-BY-4.0 |
|
| 27 |
|
| 28 |
Each substrate links to its own **substrate card** with geometry, provenance, fidelity and load/replay instructions. Tier legend: C0 gradient · C1 bulk relaxation · C2 surface relaxivity · C3 field · C4 magnetization transfer.
|
SHA256SUMS
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
-
|
| 2 |
bb57348ea115be2900cfb44eb0ad13b3ba307f1d2b967086136d9fbd23423106 canonical-wm/g070-f055-3T.rpk
|
|
|
|
| 1 |
+
5685ea727ea9ae67fa08055905c0c3de9202b7752a1514c2d854e248b4162adf cactus-axons/single-bundle-g070-icvf061-3T.rpk
|
| 2 |
bb57348ea115be2900cfb44eb0ad13b3ba307f1d2b967086136d9fbd23423106 canonical-wm/g070-f055-3T.rpk
|
cactus-axons/single-bundle-g070-icvf061-3T.croissant.jsonld
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
},
|
| 6 |
"@type": "Dataset",
|
| 7 |
"name": "cactus-axons/single-bundle-g070-icvf061-3T",
|
| 8 |
-
"description": "dmipy-sim replay pack: compressed Monte-Carlo master walk (lowrank K=
|
| 9 |
"license": "CC-BY-4.0",
|
| 10 |
"citeAs": "Fick RHJ, dmrai-lab (2026). CACTUS single-bundle Monte-Carlo master walk. Geometry generator: Villarreal-Haro et al., CACTUS (https://github.com/Juanitovh/CACTUS).",
|
| 11 |
"cr:provenance": {
|
|
@@ -44,19 +44,19 @@
|
|
| 44 |
"tiers_present": [
|
| 45 |
"C0-gradient",
|
| 46 |
"C1-bulk-relaxation",
|
| 47 |
-
"C2-surface-relaxivity"
|
|
|
|
|
|
|
| 48 |
],
|
| 49 |
-
"
|
| 50 |
-
|
| 51 |
-
"C4_mt": "MT binding needs R/25 sub-step -> ~3.5M mesh reflections/walker on sub-micron features"
|
| 52 |
-
}
|
| 53 |
},
|
| 54 |
"cr:replayEnvelope": {
|
| 55 |
"gradient": true,
|
| 56 |
"bulk_relaxation": true,
|
| 57 |
"surface_relaxivity": true,
|
| 58 |
-
"field":
|
| 59 |
-
"magnetization_transfer":
|
| 60 |
"diffusivity_fixed": true,
|
| 61 |
"acquisition": {
|
| 62 |
"b_max": 3000000000.0,
|
|
@@ -76,37 +76,37 @@
|
|
| 76 |
},
|
| 77 |
"cr:fidelity": {
|
| 78 |
"metric": "max_abs_complex_signal_error",
|
| 79 |
-
"err_max": 0.
|
| 80 |
-
"floor_max": 0.
|
| 81 |
"noise_floor": 0.007071067811865475,
|
| 82 |
"within_2x_floor": true,
|
| 83 |
"per_family": {
|
| 84 |
"OGSE1": {
|
| 85 |
-
"err_max":
|
| 86 |
-
"floor_max": 0.
|
| 87 |
},
|
| 88 |
"OGSE2": {
|
| 89 |
-
"err_max":
|
| 90 |
-
"floor_max": 0.
|
| 91 |
},
|
| 92 |
"OGSE3": {
|
| 93 |
-
"err_max": 0.
|
| 94 |
-
"floor_max": 0.
|
| 95 |
},
|
| 96 |
"OGSE5": {
|
| 97 |
-
"err_max": 0.
|
| 98 |
-
"floor_max": 0.
|
| 99 |
},
|
| 100 |
"PGSE": {
|
| 101 |
-
"err_max":
|
| 102 |
-
"floor_max": 0.
|
| 103 |
},
|
| 104 |
"SHORTD": {
|
| 105 |
-
"err_max": 0.
|
| 106 |
-
"floor_max": 0.
|
| 107 |
}
|
| 108 |
},
|
| 109 |
-
"target_floor": 0.
|
| 110 |
"meets_target": false
|
| 111 |
},
|
| 112 |
"distribution": [
|
|
|
|
| 5 |
},
|
| 6 |
"@type": "Dataset",
|
| 7 |
"name": "cactus-axons/single-bundle-g070-icvf061-3T",
|
| 8 |
+
"description": "dmipy-sim replay pack: compressed Monte-Carlo master walk (lowrank K=64) with replay envelope {'gradient': True, 'bulk_relaxation': True, 'surface_relaxivity': True, 'field': True, 'magnetization_transfer': True, 'diffusivity_fixed': True, 'acquisition': {'b_max': 3000000000.0, 'ogse_periods': [1, 2, 3, 5], 'B0_list': [3.0, 7.0, 11.7], 'note': 'temporal band set by max OGSE period / min delta'}}.",
|
| 9 |
"license": "CC-BY-4.0",
|
| 10 |
"citeAs": "Fick RHJ, dmrai-lab (2026). CACTUS single-bundle Monte-Carlo master walk. Geometry generator: Villarreal-Haro et al., CACTUS (https://github.com/Juanitovh/CACTUS).",
|
| 11 |
"cr:provenance": {
|
|
|
|
| 44 |
"tiers_present": [
|
| 45 |
"C0-gradient",
|
| 46 |
"C1-bulk-relaxation",
|
| 47 |
+
"C2-surface-relaxivity",
|
| 48 |
+
"C3-field",
|
| 49 |
+
"C4-mt-two-pool-qMT"
|
| 50 |
],
|
| 51 |
+
"c3_field": "3D myelin susceptibility field basis sampled along the walk (13-ch); any B0/orientation/chi",
|
| 52 |
+
"c4_mt": "geometry-derived two-pool qMT (f_b, k_f from myelin S/V); per-walker EMERGENT MT (binding coupled to diffusion) needs the intractable R/25 mesh walk"
|
|
|
|
|
|
|
| 53 |
},
|
| 54 |
"cr:replayEnvelope": {
|
| 55 |
"gradient": true,
|
| 56 |
"bulk_relaxation": true,
|
| 57 |
"surface_relaxivity": true,
|
| 58 |
+
"field": true,
|
| 59 |
+
"magnetization_transfer": true,
|
| 60 |
"diffusivity_fixed": true,
|
| 61 |
"acquisition": {
|
| 62 |
"b_max": 3000000000.0,
|
|
|
|
| 76 |
},
|
| 77 |
"cr:fidelity": {
|
| 78 |
"metric": "max_abs_complex_signal_error",
|
| 79 |
+
"err_max": 0.00246580676329679,
|
| 80 |
+
"floor_max": 0.01381479186198168,
|
| 81 |
"noise_floor": 0.007071067811865475,
|
| 82 |
"within_2x_floor": true,
|
| 83 |
"per_family": {
|
| 84 |
"OGSE1": {
|
| 85 |
+
"err_max": 5.2823911831579506e-05,
|
| 86 |
+
"floor_max": 0.011853765800666903
|
| 87 |
},
|
| 88 |
"OGSE2": {
|
| 89 |
+
"err_max": 4.542523613621486e-05,
|
| 90 |
+
"floor_max": 0.007125620416962809
|
| 91 |
},
|
| 92 |
"OGSE3": {
|
| 93 |
+
"err_max": 0.00017216395972078792,
|
| 94 |
+
"floor_max": 0.013183539653365321
|
| 95 |
},
|
| 96 |
"OGSE5": {
|
| 97 |
+
"err_max": 0.00246580676329679,
|
| 98 |
+
"floor_max": 0.009112497233388646
|
| 99 |
},
|
| 100 |
"PGSE": {
|
| 101 |
+
"err_max": 8.017915658644107e-05,
|
| 102 |
+
"floor_max": 0.007313176619329261
|
| 103 |
},
|
| 104 |
"SHORTD": {
|
| 105 |
+
"err_max": 0.00110073216164879,
|
| 106 |
+
"floor_max": 0.01381479186198168
|
| 107 |
}
|
| 108 |
},
|
| 109 |
+
"target_floor": 0.005,
|
| 110 |
"meets_target": false
|
| 111 |
},
|
| 112 |
"distribution": [
|
cactus-axons/single-bundle-g070-icvf061-3T.md
CHANGED
|
@@ -39,13 +39,8 @@ A **replay pack** (`.rpk`) — a compressed Monte-Carlo master walk on a *synthe
|
|
| 39 |
| C0 | Gradient | ✅ | positions — any q/b, direction, waveform (PGSE/PGSTE/OGSE/…) |
|
| 40 |
| C1 | Bulk relaxation | ✅ | per-compartment T2/T1 via the compartment map |
|
| 41 |
| C2 | Surface relaxivity | ✅ | boundary-local-time channel (any ρ) |
|
| 42 |
-
| C3 | Field / susceptibility |
|
| 43 |
-
| C4 | Magnetization transfer |
|
| 44 |
-
|
| 45 |
-
**Deferred tiers (with reason):**
|
| 46 |
-
|
| 47 |
-
- **C3_field** — rpk susceptibility channel is 2D translationally-invariant; CACTUS needs 3D field maps
|
| 48 |
-
- **C4_mt** — MT binding needs R/25 sub-step -> ~3.5M mesh reflections/walker on sub-micron features
|
| 49 |
|
| 50 |
> Diffusivity is fixed at walk time (a geometry property, not a replay knob).
|
| 51 |
|
|
@@ -53,15 +48,26 @@ A **replay pack** (`.rpk`) — a compressed Monte-Carlo master walk on a *synthe
|
|
| 53 |
|
| 54 |
| Metric | Value |
|
| 55 |
|---|---|
|
| 56 |
-
| Max replay error | 0.
|
| 57 |
-
| MC noise floor | 0.
|
| 58 |
| Within 2× floor | True |
|
| 59 |
-
| Target floor σ* | 0.
|
| 60 |
| Meets σ* | False |
|
| 61 |
| Walkers | 20000 |
|
| 62 |
| Saved time points | 81 |
|
| 63 |
| T_max (s) | 0.04 |
|
| 64 |
-
| Compression | lowrank (K=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
## Load & replay
|
| 67 |
|
|
@@ -71,10 +77,14 @@ from dmipy_sim import bank
|
|
| 71 |
|
| 72 |
pack = bank.pull("cactus-axons/single-bundle-g070-icvf061-3T", repo_id="dmrai-lab/substrate-bank") # cached + hash-verified
|
| 73 |
|
| 74 |
-
#
|
| 75 |
-
# e.g.
|
| 76 |
-
S = pack.replay(waveform, relaxation=True)
|
| 77 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
```
|
| 79 |
|
| 80 |
## Generator configuration
|
|
|
|
| 39 |
| C0 | Gradient | ✅ | positions — any q/b, direction, waveform (PGSE/PGSTE/OGSE/…) |
|
| 40 |
| C1 | Bulk relaxation | ✅ | per-compartment T2/T1 via the compartment map |
|
| 41 |
| C2 | Surface relaxivity | ✅ | boundary-local-time channel (any ρ) |
|
| 42 |
+
| C3 | Field / susceptibility | ✅ | susceptibility field basis (any B0, direction, χ_iso, χ_aniso) |
|
| 43 |
+
| C4 | Magnetization transfer | ✅ | MT saturation (Z-spectrum / MTR) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
> Diffusivity is fixed at walk time (a geometry property, not a replay knob).
|
| 46 |
|
|
|
|
| 48 |
|
| 49 |
| Metric | Value |
|
| 50 |
|---|---|
|
| 51 |
+
| Max replay error | 0.002466 |
|
| 52 |
+
| MC noise floor | 0.01381 |
|
| 53 |
| Within 2× floor | True |
|
| 54 |
+
| Target floor σ* | 0.005 |
|
| 55 |
| Meets σ* | False |
|
| 56 |
| Walkers | 20000 |
|
| 57 |
| Saved time points | 81 |
|
| 58 |
| T_max (s) | 0.04 |
|
| 59 |
+
| Compression | lowrank (K=64) |
|
| 60 |
+
|
| 61 |
+
## Magnetization transfer (two-pool qMT)
|
| 62 |
+
|
| 63 |
+
Geometry-derived pool (from the myelin surface-to-free-volume ratio); replay the Z-spectrum / MTR as a pool-level knob.
|
| 64 |
+
|
| 65 |
+
| Parameter | Value |
|
| 66 |
+
|---|---|
|
| 67 |
+
| Bound fraction f_b | 0.08115 |
|
| 68 |
+
| Forward rate k_f (1/s) | 88.32 |
|
| 69 |
+
| Surface-to-volume (1/m) | 4.416e+06 |
|
| 70 |
+
| T2 bound (s) | 1e-05 |
|
| 71 |
|
| 72 |
## Load & replay
|
| 73 |
|
|
|
|
| 77 |
|
| 78 |
pack = bank.pull("cactus-axons/single-bundle-g070-icvf061-3T", repo_id="dmrai-lab/substrate-bank") # cached + hash-verified
|
| 79 |
|
| 80 |
+
# C0/C1/C2 — build any waveform G on the pack's time grid (n_meas, pack.n_t, 3),
|
| 81 |
+
# e.g. PGSE perpendicular vs parallel to the fibre axis (recovers the anisotropy):
|
| 82 |
+
S = pack.replay(waveform, relaxation=True) # C1; add rho=... for C2 surface
|
| 83 |
+
# C3 field — any B0 / direction / susceptibility, off the stored field basis:
|
| 84 |
+
S = pack.replay(waveform, B0=7.0, chi_aniso=-1e-7, b0_dir=[0,0,1], susc_refocus=False)
|
| 85 |
+
# C4 MT — geometry-derived two-pool Z-spectrum / MTR:
|
| 86 |
+
Z = pack.mt_zspectrum(np.linspace(-3e4, 3e4, 41), w1_hz=200.0, t_sat=0.5)
|
| 87 |
+
mtr = pack.mtr(offset_hz=1e4, w1_hz=200.0, t_sat=0.5)
|
| 88 |
```
|
| 89 |
|
| 90 |
## Generator configuration
|
cactus-axons/single-bundle-g070-icvf061-3T.rpk
CHANGED
|
@@ -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:5685ea727ea9ae67fa08055905c0c3de9202b7752a1514c2d854e248b4162adf
|
| 3 |
+
size 46648180
|
manifest.json
CHANGED
|
@@ -5,15 +5,15 @@
|
|
| 5 |
{
|
| 6 |
"id": "cactus-axons/single-bundle-g070-icvf061-3T",
|
| 7 |
"file": "cactus-axons/single-bundle-g070-icvf061-3T.rpk",
|
| 8 |
-
"sha256": "
|
| 9 |
-
"bytes":
|
| 10 |
"license": "CC-BY-4.0",
|
| 11 |
"replay_envelope": {
|
| 12 |
"gradient": true,
|
| 13 |
"bulk_relaxation": true,
|
| 14 |
"surface_relaxivity": true,
|
| 15 |
-
"field":
|
| 16 |
-
"magnetization_transfer":
|
| 17 |
"diffusivity_fixed": true,
|
| 18 |
"acquisition": {
|
| 19 |
"b_max": 3000000000.0,
|
|
@@ -31,10 +31,10 @@
|
|
| 31 |
"note": "temporal band set by max OGSE period / min delta"
|
| 32 |
}
|
| 33 |
},
|
| 34 |
-
"fidelity": 0.
|
| 35 |
"compression": {
|
| 36 |
"method": "lowrank",
|
| 37 |
-
"K":
|
| 38 |
"walker_preserving": true,
|
| 39 |
"channels": {
|
| 40 |
"compartment": {
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
"channel": "boundary_local_time",
|
| 47 |
"mode": "dense",
|
| 48 |
"n_t": 81,
|
| 49 |
-
"scale": 3.
|
| 50 |
"nlevels": 127
|
| 51 |
}
|
| 52 |
}
|
|
|
|
| 5 |
{
|
| 6 |
"id": "cactus-axons/single-bundle-g070-icvf061-3T",
|
| 7 |
"file": "cactus-axons/single-bundle-g070-icvf061-3T.rpk",
|
| 8 |
+
"sha256": "5685ea727ea9ae67fa08055905c0c3de9202b7752a1514c2d854e248b4162adf",
|
| 9 |
+
"bytes": 46648180,
|
| 10 |
"license": "CC-BY-4.0",
|
| 11 |
"replay_envelope": {
|
| 12 |
"gradient": true,
|
| 13 |
"bulk_relaxation": true,
|
| 14 |
"surface_relaxivity": true,
|
| 15 |
+
"field": true,
|
| 16 |
+
"magnetization_transfer": true,
|
| 17 |
"diffusivity_fixed": true,
|
| 18 |
"acquisition": {
|
| 19 |
"b_max": 3000000000.0,
|
|
|
|
| 31 |
"note": "temporal band set by max OGSE period / min delta"
|
| 32 |
}
|
| 33 |
},
|
| 34 |
+
"fidelity": 0.00246580676329679,
|
| 35 |
"compression": {
|
| 36 |
"method": "lowrank",
|
| 37 |
+
"K": 64,
|
| 38 |
"walker_preserving": true,
|
| 39 |
"channels": {
|
| 40 |
"compartment": {
|
|
|
|
| 46 |
"channel": "boundary_local_time",
|
| 47 |
"mode": "dense",
|
| 48 |
"n_t": 81,
|
| 49 |
+
"scale": 3.629922866821289e-05,
|
| 50 |
"nlevels": 127
|
| 51 |
}
|
| 52 |
}
|