MRax
MRax is a JAX-based Python library for quantitative MRI research. It combines
unit-aware experiments and studies, differentiable signal models, Optax and
proximal optimizers, MRI reconstruction, analysis, and portable .mrax bundles.
MRax is intended for research use. Coding agents assisted development.
Install
pip install mrax
The base package includes fitting, reconstruction, import, preprocessing,
registration, analysis, storage and the desktop GUI. Optional BM3D/BM4D
denoisers use pip install "mrax[denoise-external]" under their upstream
non-commercial licenses.
See installation and
development containers
for platform and GPU setup.
Quick example
import jax.numpy as jnp
from mrax.core import run_fit
from mrax.data_struct import DataSet, Quantity
from mrax.library import build_default_experiment, make_t2_se_model
te = jnp.asarray([8.0, 24.0, 48.0, 96.0])
experiment = build_default_experiment(
"mse", frame_count=te.size, spatial_shape=(2, 2),
observables={"TE": Quantity(te, "ms")},
)
dataset = DataSet(data=jnp.ones((te.size, 2, 2)), name="demo")
fields, history = run_fit(
experiment, make_t2_se_model(scale=1.0), dataset,
num_steps=20, step_size=0.03,
)
Documentation
How to cite
If you use MRax in your research, please cite the specific release you used. Select the release used from MRax on Zenodo and copy its version-specific citation.
For a general reference to the project, use:
Lippe, C. MRax: JAX-based tools for quantitative MRI research [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.21723327
Metadata
Release files for mrax 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mrax-0.3.2.tar.gz | 2.0 MB | With provenance | Details for mrax-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mrax-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for mrax-0.3.2-py3-none-any.whl |
Total release size: 2.6 MB
Release files / mrax-0.3.2.tar.gz
| Download URL | mrax-0.3.2.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3371d1f7c323afc135ebbc25fe7fbaf4df1b629d6aa6a204321d8915edd836b
|
|
BLAKE2b-256 checksum How to use checksums |
86b3ebba238369053a488790204f12b4408dcc3f245e478f4990aabfdd0c865e
|
| 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 Oct 28, 2026.
Transparency logRelease files / mrax-0.3.2-py3-none-any.whl
| Download URL | mrax-0.3.2-py3-none-any.whl |
|---|---|
| Size | 549.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aea162e1da90a3ff7bdb492547ca0488855026e32b002a1af0a8f4331a6f10d8
|
|
BLAKE2b-256 checksum How to use checksums |
49408a0c8afacb617c836cb87d8ad2f9cff1ae3939864efe9cffdd41f62bbf0f
|
| 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 Oct 28, 2026.
Transparency logSecurity for mrax 0.3.2
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.
Attestation for mrax-0.3.2.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 Oct 28, 2026.
Transparency logA 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.