qmri-pipelines
End-to-end quantitative MRI processing pipelines built on
qmri.
Where qmri provides pure signal models and qmri-io provides file handling,
qmri-pipelines ties them together into ready-to-run, file-in / file-out
workflows that load images, run the fit, and write maps and reports.
Installation
pip install qmri-pipelines
Available pipelines
Multi-echo thermometry
Estimate temperature from multi-echo magnitude images and a segmentation using the dual-resonance (ethylene glycol) model.
from qmri.pipelines.thermometry import run_multiecho_thermometry
temperature_map, report = run_multiecho_thermometry(
multiecho_files=["echo_block_1.nii.gz", "echo_block_2.nii.gz"],
segmentation_file="labels.nii.gz",
echo_times_files=["te_block_1.txt", "te_block_2.txt"],
method="regionwise",
output_dir="results/",
)
for region in report.regions:
print(f"region {region.region_id}: {region.temperature:.2f} °C")
The magnetic field strength is read from a JSON sidecar
(ImagingFrequency or MagneticFieldStrength) unless magnetic_field_tesla
is supplied explicitly.
The same pipeline is exposed on the command line via
qmri-cli:
qmri thermometry multiecho echo_block_1.nii.gz echo_block_2.nii.gz \
-e te_block_1.txt -e te_block_2.txt \
-s labels.nii.gz --method regionwise -o results/
Metadata
Release files for qmri-pipelines 0.1.0
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 |
|---|---|---|---|---|
| qmri_pipelines-0.1.0.tar.gz | 13.3 kB | Without provenance | Details for qmri_pipelines-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qmri_pipelines-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for qmri_pipelines-0.1.0-py3-none-any.whl |
Total release size: 29.6 kB
Release files / qmri_pipelines-0.1.0.tar.gz
| Download URL | qmri_pipelines-0.1.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b53ac46fc593b766d726727e267033fec16e79e235eaa1f8a8de232e2fc80fb8
|
|
BLAKE2b-256 checksum How to use checksums |
d6720d077dbcd9804468c28e47cf897fa2765cd15a9db7f783ec108fe0322c83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / qmri_pipelines-0.1.0-py3-none-any.whl
| Download URL | qmri_pipelines-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45991e3b440b5b9f0b7a80724c9b6d02b07b989f2dca1ef4b33e4c0f53efde92
|
|
BLAKE2b-256 checksum How to use checksums |
166a0ab53c32b058c88ffa0443806731e4c416cab96eb0cb55604f9363c982bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for qmri-pipelines 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.