Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qmri-0.1.0-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

Details for the file qmri-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qmri-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 50.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for qmri-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c8e03efaffb933839d30d63801d21a1119d2dbec54660fd63ebe56147cff64
MD5 92e56e2103af8e4cca5e75b74f15d465
BLAKE2b-256 8f14224982010aacbdd0410375f8f5ac57382ad3304d0c4948b13694da8a20f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page