Skip to main content

qmri

Pure MRI signal models, fitting algorithms, and error propagation for quantitative MRI.

Installation

pip install qmri

Quick Start

import numpy as np
from qmri.diffusion import adc

b_values = np.array([0, 500, 1000, 2000])
signal = np.array([1000, 606, 368, 135])
result = adc.fit(signal, b_values, method="iwlls")

print(f"ADC: {result.adc:.2e} mm²/s")
print(f"R²: {result.r_squared:.4f}")

Documentation

See the full documentation at qmri.readthedocs.io.

License

MIT

Metadata

Release files for qmri 0.1.0

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

Built distribution (wheel)

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

Release files / qmri-0.1.0-py3-none-any.whl

Download URL qmri-0.1.0-py3-none-any.whl
Size 50.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2c8e03efaffb933839d30d63801d21a1119d2dbec54660fd63ebe56147cff64
BLAKE2b-256 checksum
How to use checksums
8f14224982010aacbdd0410375f8f5ac57382ad3304d0c4948b13694da8a20f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for qmri 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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