Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

NiFreeze

Model-based estimation and correction of head motion and eddy current distortions in 4D neuroimaging.

NiFreeze is a flexible framework for volume-to-volume motion estimation and correction in d/fMRI and PET, and eddy-current-derived distortion estimation in dMRI.

License Latest Version SPEC 0: Minimum Supported Dependencies Citation Testing Examples Prediction gallery Documentation Python package Contribution checks Code coverage Benchmarks Code format

Diffusion and functional MRI (d/fMRI) generally employ echo-planar imaging (EPI) for fast whole-brain acquisition. Despite the rapid collection of volumes, typical repetition times are long enough for head motion to occur, which has been proven detrimental to both diffusion [1] and functional [2] MRI. In the case of dMRI, additional volume-wise, low-order spatial distortions are caused by eddy currents (EC), which appear as a result of quickly switching diffusion gradients. Unaccounted for EC distortion can result in incorrect local model fitting and poor downstream tractography results [3], [4]. FSL’s eddy [5] is the most popular tool for EC distortion correction, and implements a leave-one-volume-out approach to estimate EC distortions. However, FSL has commercial restrictions that hinder application within open-source initiatives such as NiPreps [6]. In addition, FSL’s development model discourages the implementation of alternative data-modeling approaches to broaden the scope of application (e.g., modalities beyond dMRI). NiFreeze is an open-source implementation of eddy’s approach to estimate artifacts that permits alternative models that apply to, for instance, head motion estimation in fMRI and positron-emission tomography (PET) data. Like eddy, NiFreeze estimates each volume’s motion and distortion with a leave-one-volume-out scheme: a signal model fit on all the other volumes synthesizes an independent, same-contrast registration target for the held-out volume, sidestepping the ill-posed volume-to-volume registration of direction-varying dMRI contrast.

The nifreeze flowchart

Metadata

Release files for nifreeze 26.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nifreeze 26.0.0rc1
File Size Uploaded Provenance Actions
nifreeze-26.0.0rc1.tar.gz 274.0 kB With provenance Details for nifreeze-26.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nifreeze 26.0.0rc1
File Interpreter ABI Platform Actions
nifreeze-26.0.0rc1-py3-none-any.whl Python 3 none any Details for nifreeze-26.0.0rc1-py3-none-any.whl

Total release size: 452.5 kB

Release files / nifreeze-26.0.0rc1.tar.gz

Download URL nifreeze-26.0.0rc1.tar.gz
Size 274.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d1152514a73e095ba0d486d80a6290e47c32b8e05494a72ede87c0abf5956e2e
BLAKE2b-256 checksum
How to use checksums
871dbd9cdcdc03cab757db4adcf3432e82203b3bf63516b6b5d9d8bf91902181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / nifreeze-26.0.0rc1-py3-none-any.whl

Download URL nifreeze-26.0.0rc1-py3-none-any.whl
Size 178.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c1583afa03b7110746bd67dd82743dd7e38f7f755dec557ceab288f555cb837
BLAKE2b-256 checksum
How to use checksums
a2925c20ccc638260cd5be93e7af8ffa0adf22d7d6ce05c661ab8e1143f7b4b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for nifreeze 26.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nifreeze-26.0.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page