rfick commited on
Commit
10939c9
·
verified ·
1 Parent(s): cfe08cd

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -60,3 +60,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  cactus-axons/single-bundle-g070-icvf061-3T.rpk filter=lfs diff=lfs merge=lfs -text
62
  canonical-wm/g070-f055-3T.rpk filter=lfs diff=lfs merge=lfs -text
 
 
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  cactus-axons/single-bundle-g070-icvf061-3T.rpk filter=lfs diff=lfs merge=lfs -text
62
  canonical-wm/g070-f055-3T.rpk filter=lfs diff=lfs merge=lfs -text
63
+ cactus-axons/single-bundle-g070-icvf061.rpk filter=lfs diff=lfs merge=lfs -text
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 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.
 
22
 
23
  | Substrate | Replay tiers | Size | License |
24
  |---|---|---|---|
25
+ | [`cactus-axons/single-bundle-g070-icvf061`](cactus-axons/single-bundle-g070-icvf061.md) | C0 C1 C2 C3 C4 | 7.23 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
- 5685ea727ea9ae67fa08055905c0c3de9202b7752a1514c2d854e248b4162adf cactus-axons/single-bundle-g070-icvf061-3T.rpk
2
  bb57348ea115be2900cfb44eb0ad13b3ba307f1d2b967086136d9fbd23423106 canonical-wm/g070-f055-3T.rpk
 
1
+ d82fc41de0311c555c9f885e3d347f47bdacec0827e2e697b3901c107f0c4500 cactus-axons/single-bundle-g070-icvf061.rpk
2
  bb57348ea115be2900cfb44eb0ad13b3ba307f1d2b967086136d9fbd23423106 canonical-wm/g070-f055-3T.rpk
cactus-axons/single-bundle-g070-icvf061.croissant.jsonld ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@vocab": "https://schema.org/",
4
+ "cr": "http://mlcommons.org/croissant/"
5
+ },
6
+ "@type": "Dataset",
7
+ "name": "cactus-axons/single-bundle-g070-icvf061",
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": {
12
+ "substrate": "CACTUS single bundle",
13
+ "real_or_synthetic": "synthetic",
14
+ "generator": {
15
+ "name": "CACTUS",
16
+ "authors": "Villarreal-Haro et al.",
17
+ "url": "https://github.com/Juanitovh/CACTUS",
18
+ "patch": "workers/meta_grid.py: np.random.randn(n,3)->standard_normal((int(n),3)) for numba compat"
19
+ },
20
+ "g_ratio": 0.7,
21
+ "icvf": 0.6076,
22
+ "f_intra": 0.3486,
23
+ "f_myelin": 0.2589,
24
+ "f_extra": 0.3924,
25
+ "n_fibres": 366,
26
+ "box_um": [
27
+ 30.0,
28
+ 30.0,
29
+ 30.0
30
+ ],
31
+ "fibre_axis": "x",
32
+ "TE": 0.04,
33
+ "feature_radius_um": {
34
+ "intra": 0.25,
35
+ "extra": 0.4
36
+ },
37
+ "boundary": "reflecting voxel box (extra pool)",
38
+ "cactus_config": "#Step1: Substrate Initialization parameters\n\n#### Algorithm parameters\noutfile cactus_bundle\nn_cores 10\nverbose 1 \n\n\n\n#substrate constant parameters\nn_bundles 1\nlenght_side 30\nmin_rad .27\nmax_rad 2.2\nbias -.03\n\n\n### combinational parameters\nnumber_of_repetitions 1\nicvf 0.65\ndispersion 10 \n\ngamma_theta 2.40 \ngamma_kappa 0.25 \n\n\n\n\n#Step 2: joint fibre optimization parameters \n\noptimization_tolerance 50\nmax_iterations 1500\nalpha 1\nsubdivisions_number 10\n\n\n#Step 3: Fibre radial growth (FRG) and meshing parameteres\n\ngrid_size 0.35\ngrowth_iterations 4\nn_segments 4\ncolorless 1\nsim_vol simulations\ninn_out outer\ng_ratio 0.7\nn_erode 0\n\n\n",
39
+ "optimized_final_header": [
40
+ "30",
41
+ "366",
42
+ "18"
43
+ ],
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
+ "image": "single-bundle-g070-icvf061_xsection.png",
54
+ "field_strength_note": "B0 is a replay knob; pack is field-agnostic (id intentionally carries no field)"
55
+ },
56
+ "cr:replayEnvelope": {
57
+ "gradient": true,
58
+ "bulk_relaxation": true,
59
+ "surface_relaxivity": true,
60
+ "field": true,
61
+ "magnetization_transfer": true,
62
+ "diffusivity_fixed": true,
63
+ "acquisition": {
64
+ "b_max": 3000000000.0,
65
+ "ogse_periods": [
66
+ 1,
67
+ 2,
68
+ 3,
69
+ 5
70
+ ],
71
+ "B0_list": [
72
+ 3.0,
73
+ 7.0,
74
+ 11.7
75
+ ],
76
+ "note": "temporal band set by max OGSE period / min delta"
77
+ }
78
+ },
79
+ "cr:fidelity": {
80
+ "metric": "max_abs_complex_signal_error",
81
+ "err_max": 0.00246580676329679,
82
+ "floor_max": 0.01381479186198168,
83
+ "noise_floor": 0.007071067811865475,
84
+ "within_2x_floor": true,
85
+ "per_family": {
86
+ "OGSE1": {
87
+ "err_max": 5.2823911831579506e-05,
88
+ "floor_max": 0.011853765800666903
89
+ },
90
+ "OGSE2": {
91
+ "err_max": 4.542523613621486e-05,
92
+ "floor_max": 0.007125620416962809
93
+ },
94
+ "OGSE3": {
95
+ "err_max": 0.00017216395972078792,
96
+ "floor_max": 0.013183539653365321
97
+ },
98
+ "OGSE5": {
99
+ "err_max": 0.00246580676329679,
100
+ "floor_max": 0.009112497233388646
101
+ },
102
+ "PGSE": {
103
+ "err_max": 8.017915658644107e-05,
104
+ "floor_max": 0.007313176619329261
105
+ },
106
+ "SHORTD": {
107
+ "err_max": 0.00110073216164879,
108
+ "floor_max": 0.01381479186198168
109
+ }
110
+ },
111
+ "target_floor": 0.005,
112
+ "meets_target": false
113
+ },
114
+ "distribution": [
115
+ {
116
+ "@type": "cr:FileObject",
117
+ "name": "cactus-axons/single-bundle-g070-icvf061.rpk",
118
+ "encodingFormat": "application/octet-stream",
119
+ "contentUrl": null
120
+ }
121
+ ]
122
+ }
cactus-axons/single-bundle-g070-icvf061.md ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ tags:
4
+ - diffusion-mri
5
+ - monte-carlo
6
+ - replay-pack
7
+ - microstructure
8
+ - dmipy
9
+ - cactus
10
+ - white-matter
11
+ pretty_name: single-bundle-g070-icvf061
12
+ ---
13
+
14
+ # Substrate card — `cactus-axons/single-bundle-g070-icvf061`
15
+
16
+ A **replay pack** (`.rpk`) — a compressed Monte-Carlo master walk on a *synthetic* diffusion-MRI substrate, plus every physics channel needed to **replay** any acquisition inside its certified envelope without re-simulating. One walk, every acquisition. Format: the open [Replay Pack Specification](https://github.com/dmrai-lab/replay-pack-spec).
17
+
18
+ ![single-bundle-g070-icvf061 cross-section](single-bundle-g070-icvf061_xsection.png)
19
+ *Substrate cross-section: intra-axonal (blue), myelin (orange), extra-axonal (pale).*
20
+
21
+ > **Field strength / acquisition are replay knobs, not baked in.** This pack replays **any** B0, gradient waveform, orientation, susceptibility, relaxation and (if present) surface/MT setting — so it is not specific to any scanner field.
22
+
23
+ ## Geometry & provenance
24
+
25
+ | Property | Value |
26
+ |---|---|
27
+ | Generator | [CACTUS](https://github.com/Juanitovh/CACTUS) |
28
+ | Generator authors | Villarreal-Haro et al. |
29
+ | Substrate | CACTUS single bundle |
30
+ | Fibres | 366 |
31
+ | g-ratio | 0.7 |
32
+ | ICVF (intra+myelin) | 0.6076 |
33
+ | f_intra | 0.3486 |
34
+ | f_myelin | 0.2589 |
35
+ | f_extra | 0.3924 |
36
+ | Voxel box (µm) | [30.0, 30.0, 30.0] |
37
+ | Fibre axis | x |
38
+ | Boundary condition | reflecting voxel box (extra pool) |
39
+
40
+ ## Replay capability
41
+
42
+ | Tier | Channel | Present | Meaning |
43
+ |---|---|:--:|---|
44
+ | C0 | Gradient | ✅ | positions — any q/b, direction, waveform (PGSE/PGSTE/OGSE/…) |
45
+ | C1 | Bulk relaxation | ✅ | per-compartment T2/T1 via the compartment map |
46
+ | C2 | Surface relaxivity | ✅ | boundary-local-time channel (any ρ) |
47
+ | C3 | Field / susceptibility | ✅ | susceptibility field basis (any B0, direction, χ_iso, χ_aniso) |
48
+ | C4 | Magnetization transfer | ✅ | MT saturation (Z-spectrum / MTR) |
49
+
50
+ > Diffusivity is fixed at walk time (a geometry property, not a replay knob).
51
+
52
+ ## Fidelity
53
+
54
+ | Metric | Value |
55
+ |---|---|
56
+ | Max replay error | 0.002466 |
57
+ | MC noise floor | 0.01381 |
58
+ | Within 2× floor | True |
59
+ | Target floor σ* | 0.005 |
60
+ | Meets σ* | False |
61
+ | Walkers | 20000 |
62
+ | Saved time points | 81 |
63
+ | T_max (s) | 0.04 |
64
+ | Compression | lowrank (K=64) |
65
+
66
+ ## Magnetization transfer (two-pool qMT)
67
+
68
+ Geometry-derived pool (from the myelin surface-to-free-volume ratio); replay the Z-spectrum / MTR as a pool-level knob.
69
+
70
+ | Parameter | Value |
71
+ |---|---|
72
+ | Bound fraction f_b | 0.08115 |
73
+ | Forward rate k_f (1/s) | 88.32 |
74
+ | Surface-to-volume (1/m) | 4.416e+06 |
75
+ | T2 bound (s) | 1e-05 |
76
+
77
+ ## Load & replay
78
+
79
+ ```python
80
+ import numpy as np
81
+ from dmipy_sim import bank
82
+
83
+ pack = bank.pull("cactus-axons/single-bundle-g070-icvf061", repo_id="dmrai-lab/substrate-bank") # cached + hash-verified
84
+
85
+ # C0/C1/C2 — build any waveform G on the pack's time grid (n_meas, pack.n_t, 3),
86
+ # e.g. PGSE perpendicular vs parallel to the fibre axis (recovers the anisotropy):
87
+ S = pack.replay(waveform, relaxation=True) # C1; add rho=... for C2 surface
88
+ # C1 knob — sweep per-compartment [T2, T1] (index = compartment id: 0 extra, 1 intra, 2 myelin):
89
+ S = pack.replay(waveform, relaxation=True, T2=[0.06, 0.05, 0.010], T1=[1.0, 1.2, 0.44])
90
+ # C3 field — any B0 / direction / susceptibility, off the stored field basis:
91
+ S = pack.replay(waveform, B0=7.0, chi_aniso=-1e-7, b0_dir=[0,0,1], susc_refocus=False)
92
+ # C4 MT — geometry-derived two-pool Z-spectrum / MTR:
93
+ Z = pack.mt_zspectrum(np.linspace(-3e4, 3e4, 41), w1_hz=200.0, t_sat=0.5)
94
+ mtr = pack.mtr(offset_hz=1e4, w1_hz=200.0, t_sat=0.5)
95
+ ```
96
+
97
+ ## Generator configuration
98
+
99
+ The exact generator config that produced this geometry (also embedded in the `.rpk` provenance):
100
+
101
+ ```
102
+ #Step1: Substrate Initialization parameters
103
+
104
+ #### Algorithm parameters
105
+ outfile cactus_bundle
106
+ n_cores 10
107
+ verbose 1
108
+
109
+
110
+
111
+ #substrate constant parameters
112
+ n_bundles 1
113
+ lenght_side 30
114
+ min_rad .27
115
+ max_rad 2.2
116
+ bias -.03
117
+
118
+
119
+ ### combinational parameters
120
+ number_of_repetitions 1
121
+ icvf 0.65
122
+ dispersion 10
123
+
124
+ gamma_theta 2.40
125
+ gamma_kappa 0.25
126
+
127
+
128
+
129
+
130
+ #Step 2: joint fibre optimization parameters
131
+
132
+ optimization_tolerance 50
133
+ max_iterations 1500
134
+ alpha 1
135
+ subdivisions_number 10
136
+
137
+
138
+ #Step 3: Fibre radial growth (FRG) and meshing parameteres
139
+
140
+ grid_size 0.35
141
+ growth_iterations 4
142
+ n_segments 4
143
+ colorless 1
144
+ sim_vol simulations
145
+ inn_out outer
146
+ g_ratio 0.7
147
+ n_erode 0
148
+ ```
149
+
150
+ Geometry header (`optimized_final.txt`): voxel_side=30, n_fibres=366, n_control_points=18.
151
+
152
+ > Reproducibility note: workers/meta_grid.py: np.random.randn(n,3)->standard_normal((int(n),3)) for numba compat
153
+
154
+ ## Citation & license
155
+
156
+ **License:** CC-BY-4.0
157
+ **Cite:** Fick RHJ, dmrai-lab (2026). CACTUS single-bundle Monte-Carlo master walk. Geometry generator: Villarreal-Haro et al., CACTUS (https://github.com/Juanitovh/CACTUS).
cactus-axons/single-bundle-g070-icvf061.rpk ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82fc41de0311c555c9f885e3d347f47bdacec0827e2e697b3901c107f0c4500
3
+ size 7225430
cactus-axons/single-bundle-g070-icvf061__cactus_config.txt ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #Step1: Substrate Initialization parameters
2
+
3
+ #### Algorithm parameters
4
+ outfile cactus_bundle
5
+ n_cores 10
6
+ verbose 1
7
+
8
+
9
+
10
+ #substrate constant parameters
11
+ n_bundles 1
12
+ lenght_side 30
13
+ min_rad .27
14
+ max_rad 2.2
15
+ bias -.03
16
+
17
+
18
+ ### combinational parameters
19
+ number_of_repetitions 1
20
+ icvf 0.65
21
+ dispersion 10
22
+
23
+ gamma_theta 2.40
24
+ gamma_kappa 0.25
25
+
26
+
27
+
28
+
29
+ #Step 2: joint fibre optimization parameters
30
+
31
+ optimization_tolerance 50
32
+ max_iterations 1500
33
+ alpha 1
34
+ subdivisions_number 10
35
+
36
+
37
+ #Step 3: Fibre radial growth (FRG) and meshing parameteres
38
+
39
+ grid_size 0.35
40
+ growth_iterations 4
41
+ n_segments 4
42
+ colorless 1
43
+ sim_vol simulations
44
+ inn_out outer
45
+ g_ratio 0.7
46
+ n_erode 0
47
+
48
+
cactus-axons/single-bundle-g070-icvf061_xsection.png ADDED

Git LFS Details

  • SHA256: 78f1bbbcc7061be49e33b5941c2832985e4decae739fb059fc85884cd7fbd5fc
  • Pointer size: 130 Bytes
  • Size of remote file: 49.1 kB
manifest.json CHANGED
@@ -3,10 +3,10 @@
3
  "n_entries": 2,
4
  "entries": [
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,
@@ -48,6 +48,11 @@
48
  "n_t": 81,
49
  "scale": 3.629922866821289e-05,
50
  "nlevels": 127
 
 
 
 
 
51
  }
52
  }
53
  }
 
3
  "n_entries": 2,
4
  "entries": [
5
  {
6
+ "id": "cactus-axons/single-bundle-g070-icvf061",
7
+ "file": "cactus-axons/single-bundle-g070-icvf061.rpk",
8
+ "sha256": "d82fc41de0311c555c9f885e3d347f47bdacec0827e2e697b3901c107f0c4500",
9
+ "bytes": 7225430,
10
  "license": "CC-BY-4.0",
11
  "replay_envelope": {
12
  "gradient": true,
 
48
  "n_t": 81,
49
  "scale": 3.629922866821289e-05,
50
  "nlevels": 127
51
+ },
52
+ "susc_basis": {
53
+ "K": 64,
54
+ "C": 13,
55
+ "T": 81
56
  }
57
  }
58
  }