Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
NiFreeze
NiFreeze
26.1.0.dev106 (development)

    Introduction

    • Overview
    • Design Principles
    • Citing NiFreeze

    User guide

    • Installation
    • How to use
      • Running NiFreeze
      • Using NiFreeze from Python
      • Data and file formats

    Methods

    • Model implementation
    • The global eddy model (GEM)

    Experiment-driven development

    • Experiment-driven development
      • Synthetic reference data
      • Prediction gallery
        • Legacy DTI (ds000206)
        • Single-shell HARDI (ds000114)
        • Multi-shell (ds003138)
        • DSI (ds004737)
      • What limits registration to a perfect target
      • The eddy-current truth
      • The error audit
      • Elastix’s settings, mapped from ANTs
      • Elastix against ANTs, on held-out volumes
      • The targets of the eddy-current pass
      • GEM’s accuracy on the phantom

    Developers

    • For developers
    • Extending NiFreeze
    • Writing a paper about NiFreeze
    • API reference
      • nifreeze.analysis package
        • nifreeze.analysis.filtering module
        • nifreeze.analysis.measure_agreement module
        • nifreeze.analysis.motion module
        • nifreeze.analysis.phantoms module
        • nifreeze.analysis.registration module
        • nifreeze.analysis.sensitivity module
        • nifreeze.analysis.similarity module
      • nifreeze.cli package
        • nifreeze.cli.parser module
        • nifreeze.cli.run module
      • nifreeze.data package
        • nifreeze.data.dmri package
          • nifreeze.data.dmri.base module
          • nifreeze.data.dmri.io module
          • nifreeze.data.dmri.utils module
        • nifreeze.data.pet package
          • nifreeze.data.pet.base module
          • nifreeze.data.pet.io module
          • nifreeze.data.pet.utils module
        • nifreeze.data.base module
        • nifreeze.data.filtering module
        • nifreeze.data.splitting module
        • nifreeze.data.utils module
      • nifreeze.estimator module
      • nifreeze.exceptions module
      • nifreeze.model package
        • nifreeze.model.base module
        • nifreeze.model.dki module
        • nifreeze.model.dmri module
        • nifreeze.model.gpr module
        • nifreeze.model.gqi module
        • nifreeze.model.lovo module
        • nifreeze.model.pet module
      • nifreeze.registration package
        • nifreeze.registration.ants module
        • nifreeze.registration.base module
        • nifreeze.registration.elastix module
        • nifreeze.registration.gem module
        • nifreeze.registration.itk_backend module
        • nifreeze.registration.utils module
      • nifreeze.testing package
        • nifreeze.testing.perturbations module
        • nifreeze.testing.phantoms module
        • nifreeze.testing.simulations module
      • nifreeze.utils package
        • nifreeze.utils.iterators module
        • nifreeze.utils.ndimage module
      • nifreeze.viz package
        • nifreeze.viz.bland_altman module
        • nifreeze.viz.corrections module
        • nifreeze.viz.motion_viz module
        • nifreeze.viz.signals module

    About

    • What’s new?
    • References
    Back to top
    View this page
    Edit this page

    Prediction gallery¶

    This gallery shows predicted diffusion volumes produced by NiFreeze’s models on several real datasets spanning the acquisition-scheme spectrum — a simple, legacy DTI dataset, a single-shell HARDI dataset, a multi-shell dataset, and a DSI dataset. For each dataset, every applicable model is run in two modes:

    • LOVO (leave-one-volume-out): the model is fit on every other volume and used to predict the held-out orientation, so the prediction is unbiased with respect to the target volume.

    • single-fit: the model is fit once on all volumes and then predicts.

    The whole gallery is driven by a single declarative matrix (a support harness under docs/sphinxext/gallery) of (dataset × model × mode) cells. A model’s capability contract (BaseModel) decides, before fitting, which cells apply — so each page also reports a coverage table recording what was exercised and why any cell was skipped (e.g. DKI needs multiple shells; the shell-averaging model has no single-fit mode). This makes the gallery a living record of what the models are validated to do on real data.

    Note

    The datasets are fetched from OpenNeuro. Two labels are worth stating plainly: ds000114 is single-shell at b=1000 s/mm² (high angular resolution, milder than textbook high-b HARDI), and ds004737 is compressed-sensing DSI (a sub-sampled q-space grid, not a full 258-point acquisition).

    Note

    The pages below are generated by the gallery workflow, which fits each (dataset × model × mode) cell in its own job and renders the panels. They are plain figures over that output — nothing is computed at documentation build time. The workflow runs whenever the models change on main (and weekly, as a check), and the documentation build downloads the latest pages it published. These pages were published by run 46147084984 of the gallery workflow, at commit 5db6e222 (2026-11-28).

    • Legacy DTI (ds000206)
    • Single-shell HARDI (ds000114)
    • Multi-shell (ds003138)
    • DSI (ds004737)
    Next
    Legacy DTI (ds000206)
    Previous
    Synthetic reference data
    Copyright © Copyright 2024, The NiFreeze developers
    Made with Sphinx and @pradyunsg's Furo