Examples¶
The notebooks are small demonstrations of specific APIs. They are not complete training or evaluation pipelines.
- Simulator components plots signals from individual compartments.
- Multi-compartment model combines compartments, masks, fractions, and noise.
- Using pretrained models loads a checkpoint and calls model sampling methods on synthetic data.
- Train a small model demonstrates model building
and a short in-process training loop. It does not replace
dmri trainfor checkpointed runs. - Getting example data downloads an open dataset,
converts it into the four-file FSL layout
dmri predictreads, and runs a prediction.
To run them locally:
The pretrained example downloads a checkpoint. CPU execution can be slow; a supported GPU is recommended for posterior sampling.
Notebooks 1-4 are re-executed on every documentation build, so their figures always match the code. "Getting example data" is not: it downloads 174 MB and runs a full prediction, so it ships with committed outputs and is meant to be run by hand.