Repository navigation
Highlights
Breaking. Volumes are stored on the first axis (dataobj is (N, X, Y, Z)), and HDF5 files are written as memory-mapped nfHDF5 version 2 (#461). Version 1 files still load.
Motion estimation
- The instant update: models train on the data realigned with the motion estimated so far (#538), and each registration starts at the current estimate (#536).
- Realigned volumes are written through their NIfTI q/s-form (#537), and the X5 file holds every volume's transform (#531).
- Less per-volume overhead preparing registration inputs (#529); start and end indices for the estimator (#423).
Models
- Closed-form leave-one-volume-out models:
gp-looandgqi-krr(#499). - GP: correct log-space kernel gradients and a tunable noise term (#457), better starting values and a multi-shell noise term (#498), robust and scalable hyperparameter optimization (#507), and a multi-shell kernel (#175).
- GQI synced with DIPY (#453); DKI fitted through DIPY's
multi_voxel_fit(#450); DTI and DKI fitted on the model's mask (#541). - PET: the B-spline knots span the frames' domain (#424); the separate PET estimator is gone (#426).
Validation
- An end-to-end motion test with known truth (#533). It runs on volumes that TRXScan simulated again from the moved head (#582), on the native Sherbrooke phantom in CI (#606).
- Synthetic phantoms simulated with TRXScan, with their perturbations and ground truth (#555, #557, #559, #563, #570, #573, #576).
- A sensitivity analysis of how model predictions drift under motion and eddy currents (#542, #544, #565), tracked in CI by quality benchmarks (#553, #566). Rungs 1 to 3 of its ladder run on a phantom protocol (#581), and it no longer includes the inherited-distortion share, which was a registration (#580).
- A prediction gallery of DWI schemes and models (#460, #510).
Fixes. The estimator and models no longer modify the dataset's arrays (#527); DWI.to_filename reopens the file it wrote (#516); DKI fits data with two non-zero shells (#415).
What's Changed
- FIX: Append b0 to enable DKI fitting with 2 non-zero shells by @jhlegarreta in #415
- MAINT: Add Claude Code agent instructions by @oesteban in #416
- RF: Simplify PET's BSpline model and add a simple test by @oesteban in #397
- MNT: Upload CI test artifacts from TEST_OUPUT_DIR by @oesteban in #417
- TST: Relocate PET
srtmsimulation function test to dedicated file by @jhlegarreta in #418 - MNT: Increase consistency in branch and tag lists in GHA workflow files by @jhlegarreta in #420
- DOC: Centralize iterator note docstring by @jhlegarreta in #425
- MNT: Bump
nipypeversion to 1.11.0 by @jhlegarreta in #427 - MNT: Compare benchmark and fail workflow on regression by @jhlegarreta in #419
- FIX: Fix PET B-Spline model knots domain by @jhlegarreta in #424
- TST: Add non-integer frame time cases for PET fit/predict test function by @jhlegarreta in #428
- MNT: Fetch all refs and parse
origin/mainin benchmark workflow by @jhlegarreta in #431 - MNT: Bump miscellaneous GitHub action versions by @jhlegarreta in #430
- MNT: Export
benchmarksregression variable to GH environment variables by @jhlegarreta in #432 - TST: Do not set the
autouseflag in fixtures generating data by @jhlegarreta in #429 - STY: Remove unused variable from test helper function by @jhlegarreta in #433
- FIX: Multi-voxel DTI fitting tests - oracle using rotation-invariants by @jhlegarreta in #410
- DOC: Add design document by @jhlegarreta in #421
- REF: Remove PET estimator by @jhlegarreta in #426
- TST: Filter DIPY's divide by zero warnings in DTI model fitting tests by @jhlegarreta in #436
- REF: Remove unnecessary
lofo_splitfunction fromPETdata class by @jhlegarreta in #437 - MNT: Set a fixed machine name for ASV in benchmark GHA workflow file by @jhlegarreta in #438
- REF: Keep DWI model predictions as floats until deliberate cast by @jhlegarreta in #441
- FIX: Assign result of
astypeto new array by @jhlegarreta in #439 - ENH: Implement start/end index for the estimator by @jhlegarreta in #423
- REF: Avoid divide by zero warnings when denominator is zero by @jhlegarreta in #440
- TST: Check dataset classes' optional parameters' integration by @jhlegarreta in #313
- FIX: Replace Removed
matplotlib.cm.get_cmapand Pin Matplotlib by @oesteban in #445 - TST: Fix
random_datasetfixture for pytest 9.1.x by @jhlegarreta in #449 - MNT: Prefer matplotlb version bounding over compatibility specifier by @jhlegarreta in #448
- MNT: Bump DIPY to current HEAD for multi voxel decorator arg management by @jhlegarreta in #447
- FIX: Revise DKI model initialization to leverage DIPY's
multi_voxel_fitby @oesteban in #450 - MNT: Bump
virtualenvdependency in benchmark table by @jhlegarreta in #451 - RF: The adopton of multi_voxel_fit from DIPY is not immediate by @oesteban in #452
- DOC: Initialize an LLM-Wiki by @oesteban in #454
- DOC: Expand the wiki with critical DIPY contents by @oesteban in #455
- RF: Revise GQI, syncing with DIPY and adding Olivier's tests by @oesteban in #453
- FIX: Correct Log-Space GP Kernel Gradients and Make Noise Tunable via WhiteKernel by @oesteban in #457
- ENH: Implement
MultiShellKernelby @oesteban in #175 - ENH: Prediction gallery of DWI schemes and models by @oesteban in #460
- RF: Gallery building workflow by @oesteban in #462
- DOC: Refresh prediction gallery by @github-actions[bot] in #463
- FIX: Narrow
CellResult.reasonBefore Membership Test by @oesteban in #464 - DOC: Miscellaneous syntax highlighting fixes by @jhlegarreta in #465
- DOC: Add code coverage badge to README file by @jhlegarreta in #466
- STY: Prefer using the
load_apiutil for consistent volume loading by @jhlegarreta in #467 - STY: Miscellaneous style warning fixes by @jhlegarreta in #470
- STY: Fix miscellaneous style errors across wiki pages by @jhlegarreta in #472
- MNT: Bump miscellaneous GitHub action versions by @jhlegarreta in #474
- STY: Fix miscellaneours style issues by @jhlegarreta in #476
- TST: Check PET B-Spline model order and control point exceptions by @jhlegarreta in #477
- DOC: Format propertly the
CITATION.cfffile by @jhlegarreta in #479 - MNT: Bump
upload-artifactaction version in gallery workflow file by @jhlegarreta in #480 - MNT: Add prediction gallery workflow badge to README by @jhlegarreta in #481
- MNT: Add citation file check CI workflow by @jhlegarreta in #482
- DOC: Fix
CITATION.cfffile by @jhlegarreta in #483 - DOC: Put citation check badge after PyPI badge in README by @jhlegarreta in #484
- MNT: Upper bound the
hatchlingversion to fixtwineincompatibility by @jhlegarreta in #485 - MNT: Bump
hynek/build-and-inspect-python-packageto v3.0.1 by @jhlegarreta in #486 - STY: Prefer avoiding private import statements in tests by @jhlegarreta in #471
- TST: Prefer using the DWI dataset generation fixture by @jhlegarreta in #469
- MNT: Require Python greater or equal to 3.12 by @jhlegarreta in #473
- ENH: Benchmark the DKI DWI model by @jhlegarreta in #446
- DOC: Add a citation page to the rendered documentation by @jhlegarreta in #487
- DOC: Fix
CITATION.cffto BibTeX translation script by @jhlegarreta in #489 - DOC: Improve citation page and generator script by @jhlegarreta in #490
- DOC: Remove duplicate entry in developers documentation page TOC by @jhlegarreta in #491
- DOC: Change title to citation page to make it stand out more by @jhlegarreta in #492
- DOC: Declare inherited MSKernel
k1andk2members as properties by @jhlegarreta in #488 - MNT: Install Git-Annex From Its PyPI Wheel by @oesteban in #501
- MNT: Fall Back To Cached Test Data When GIN Is Unreachable by @oesteban in #503
- MNT: Depend On Released DIPY So Package Uploads Succeed by @oesteban in #505
- FIX: Make GP Hyperparameter Optimization Robust And Scalable by @oesteban in #507
- FIX: GP Starting Values And Multi-Shell Noise Term by @oesteban in #498
- MNT: Publish The Prediction Gallery From CI Artifacts by @oesteban in #510
- FIX: Let The Docs Deploy Push To gh-pages by @oesteban in #512
- ENH: Closed-Form Leave-One-Volume-Out Models (gp-loo, gqi-krr) by @oesteban in #499
- MNT: Compare Benchmarks In One Job And Gate On Memory, CPU And Wall Time by @oesteban in #518
- ENH: Time-First, Memory-Mapped Data Layer by @oesteban in #461
- TST: Check The Dataset Class Returned By
loadFor HDF5 Files by @oesteban in #522 - FIX: Reopen The HDF5 File
DWI.to_filenameWrote by @oesteban in #516 - FIX: Run One K-Fold Split Per Repeat In The GP Error Analysis by @oesteban in #524
- FIX: Keep The Estimator And DWI Models From Modifying Dataset Arrays by @oesteban in #527
- ENH: Cut The Per-Volume Overhead Of Preparing Registration Inputs by @oesteban in #529
- FIX: Write The Transforms Of Every Volume To The X5 File by @oesteban in #531
- ENH: Write realigned volumes after registration, by means of NIfTI q/s-form matrices by @oesteban in #537
- ENH: Implement the "instant update" protocol by @oesteban in #538
- ENH: Start Each Registration At The Current Motion Estimate by @oesteban in #536
- TST: Add A Simulated-Motion End-To-End Test On Sherbrooke by @oesteban in #533
- FIX: Fit DTI And DKI On The Model's Data Mask by @oesteban in #541
- ENH: Measure How Training-Volume Motion Degrades Model Predictions by @oesteban in #542
- ENH: Measure How Model Predictions Respond To Eddy-Current Distortions by @oesteban in #544
- FIX: Measure Inherited Distortion On Top Of Rigid Motion by @oesteban in #547
- ENH: Catalog The Acquisition Protocols Of The Synthetic Dataset by @oesteban in #555
- ENH: Simulate The Clean And Noisy Reference Of Each Protocol With TRXScan by @oesteban in #557
- ENH: Simulate The Perturbed Copies Of Each Reference, With Their Ground Truth by @oesteban in #559
- ENH: Judge Quality Benchmarks By Their Absolute Change by @oesteban in #553
- MNT: Simulate A Small Synthetic Dataset In CI by @oesteban in #561
- MNT: Analyze Given Perturbed Copies, And Move Their Making To Test Helpers by @oesteban in #554
- ENH: Read The Synthetic Phantoms, And Fit Their Distortions As Their Readout Forms Them by @oesteban in #563
- TST: Check The Sensitivity Analysis On The CI Phantom by @oesteban in #565
- ENH: Track How Far Each Model's Predictions Drift On The CI Phantom by @oesteban in #566
- FIX: Center Eddy Currents On Integer Halves, And Grid Moved Oblique Phantoms Once by @oesteban in #570
- MNT: Fetch Only The Test Data The Tests Read, Without Recursion by @oesteban in #571
- ENH: Simulate The Moved Volumes Of A Phantom Grid In Parallel Processes by @oesteban in #573
- ENH: Move One Volume Of A Phantom's Moved Set Alone, To Rank Volumes By Influence by @oesteban in #576
- MNT: Remove The Inherited-Distortion Share From The Sensitivity Analysis by @oesteban in #580
- ENH: Run Rungs 1 To 3 Of The Sensitivity Ladder On A Phantom Protocol by @oesteban in #581
- TST: Run The End-To-End Motion Test On A Synthetic Phantom by @oesteban in #582
- MNT: Run The End-To-End Tests On The Native Sherbrooke Phantom by @oesteban in #606
New Contributors
- @github-actions[bot] made their first contribution in #463
Full Changelog: 0.1.0...0.2.0