Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
nifreeze 26.0.0.dev207 documentation
nifreeze 26.0.0.dev207
  • 26.0.0.dev207
    • Installation
    • Design Principles
    • Extending NiFreeze
    • Contributing to NiFreeze
    • Model implementation
    • Prediction gallery
      • Legacy DTI (ds000206)
      • Single-shell HARDI (ds000114)
      • Multi-shell (ds003138)
      • DSI (ds004737)
    • How to Use
    • Running NiFreeze
    • For developers
      • nifreeze.analysis package
        • nifreeze.analysis.filtering module
        • nifreeze.analysis.measure_agreement module
        • nifreeze.analysis.motion 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.data.dmri package
        • nifreeze.data.dmri.base module
        • nifreeze.data.dmri.io module
        • nifreeze.data.dmri.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.pet module
      • nifreeze.registration package
        • nifreeze.registration.ants module
        • nifreeze.registration.utils module
      • nifreeze.testing package
        • 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.motion_viz module
        • nifreeze.viz.signals module
    • What’s new?
    • References
    Back to top
    View 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.

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