dmipy
Diffusion Microstructure Imaging in Python — the umbrella over the two engines, and the home of the documentation at dmipy.org.
- dmipy-sim — JAX Monte-Carlo forward simulator
(arbitrary
G(t), restricted diffusion, surface relaxivity, permeability, T2). - dmipy-fit — analytical multi-compartment fitting + JAX GPU (T2 + surface-relaxivity factors, CSD, NNLS myelin-water fraction).
One free-waveform substrate interface, fit → sim.
pip install dmipy # dmipy-sim + dmipy-fit
pip install "dmipy[cuda12]" # + JAX GPU
import dmipy_sim, dmipy_fit # no importable `dmipy`; import the engines directly
Upgrading from dmipy 1.x? dmipy 2.0 is a ground-up rewrite with a different architecture and API. The 1.x line (the original 2019 toolbox, Fick–Wassermann–Deriche) was a single importable
dmipypackage; 2.x is a meta-package with no importabledmipymodule — you importdmipy_sim/dmipy_fit. Oldimport dmipycode will not run under 2.x. To stay on the original toolbox, pinpip install "dmipy<2"(it remains available on PyPI).
This repo
pyproject.toml— the thindmipymeta-package (installs the two engines).docs/+mkdocs.yml— the dmipy.org site (MkDocs Material; built and deployed by.github/workflows/docs.yml).papers/— reproducible manuscripts (source + PDF + rerunnable figures); currentlypapers/surface_relaxivity_bias/— "Surface relaxivity biases diffusion and relaxometry microstructure estimates." Seepapers/README.md.
Build the docs locally:
pip install ".[docs]"
mkdocs serve
License
Dual-licensed: GNU AGPL-3.0 for open-source use, or a commercial license for proprietary/closed use — the same terms apply to both engines. See LICENSE and LICENSING.md (commercial: rutger.fick@dmrai-lab.org).
The lab and its philosophy: dmrai-lab.org.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dmipy-2.1.0.tar.gz.
File metadata
- Download URL: dmipy-2.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ec98c9ff15503218ad49bcb9a696892a0c2790caec72d4a251c76c2bb27f93
|
|
| MD5 |
55d25358cbaff08ad1b3c569e31db9af
|
|
| BLAKE2b-256 |
388f3a3244f7d8c1bc52a9fb7667cad48adf44efb4e31f356a41ed3992fad13b
|
Provenance
The following attestation bundles were made for dmipy-2.1.0.tar.gz:
Publisher:
publish.yml on dmrai-lab/dmipy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dmipy-2.1.0.tar.gz -
Subject digest:
c5ec98c9ff15503218ad49bcb9a696892a0c2790caec72d4a251c76c2bb27f93 - Sigstore transparency entry: 2173497289
- Sigstore integration time:
-
Permalink:
dmrai-lab/dmipy@8cc7eca09cc70795bf41cc0a43e5baf2410e8584 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/dmrai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8cc7eca09cc70795bf41cc0a43e5baf2410e8584 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dmipy-2.1.0-py3-none-any.whl.
File metadata
- Download URL: dmipy-2.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8fc21d0d92f886f27da17b8113432797de5098e0cddcab7277d66740281eb42
|
|
| MD5 |
b0d78181c6dcedba19d140f81494a662
|
|
| BLAKE2b-256 |
8e89914a791a9b73006588ea51f870df36a9ba74f714e79adcb38f3ae044aed3
|
Provenance
The following attestation bundles were made for dmipy-2.1.0-py3-none-any.whl:
Publisher:
publish.yml on dmrai-lab/dmipy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dmipy-2.1.0-py3-none-any.whl -
Subject digest:
f8fc21d0d92f886f27da17b8113432797de5098e0cddcab7277d66740281eb42 - Sigstore transparency entry: 2173497460
- Sigstore integration time:
-
Permalink:
dmrai-lab/dmipy@8cc7eca09cc70795bf41cc0a43e5baf2410e8584 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/dmrai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8cc7eca09cc70795bf41cc0a43e5baf2410e8584 -
Trigger Event:
release
-
Statement type: