MRI processing toolkit.
Project description
MRI-Toolkit
MRI-toolkit provides a set of features dedicated to MRI data post-processing and analysis.
The implementation is inspired by gMRI2FEM, and some of the code is taken from that project. However, MRI-toolkit is designed to be more modular and extensible, with a focus on providing a user-friendly command-line interface (CLI) for common MRI processing tasks.
Installation
pip install mritk
Documentation
The documentation is available at https://scientificcomputing.github.io/mri-toolkit/. It includes detailed usage instructions, API references, and examples.
Quick Start
To get started with mri-toolkit, you can use the command-line interface (CLI) to inspect and analyze your MRI data.
Features
-
File Inspection: detailed NIfTI header analysis (affine, voxel size, shape).
-
$T_1$ Mapping: Estimate $T_1$ relaxation times using Look-Locker or Mixed sequences, and seamlessly merge them into comprehensive Hybrid $T_1$ maps.
-
$R_1$ Relaxation Rates: Convert $T_1$ maps into $R_1$ relaxation rate maps for linear scaling with tracer concentrations.
-
Concentration Mapping: Calculate the spatial distribution of contrast agents (e.g., gadobutrol) utilizing pre- and post-contrast $T_1$ or $R_1$ maps.
-
Statistics: Compute comprehensive statistics (volume, mean, median, std, percentiles) for MRI regions based on segmentation maps.
-
Visualization:
-
Terminal: View orthogonal slices (Sagittal, Coronal, Axial) directly in your console.
-
Napari: Launch the Napari viewer for interactive 3D inspection.
-
-
Data Management: Utilities to download datasets.
Contributing
Contributions to MRI-toolkit are welcome! If you have an idea for a new feature, improvement, or bug fix, please open an issue or submit a pull request on GitHub. For more details on how to contribute, please see the Contributing Guide.
License
MRI-toolkit is licensed under the MIT License. See the LICENSE file for more information.
Project details
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 mritk-0.4.0.tar.gz.
File metadata
- Download URL: mritk-0.4.0.tar.gz
- Upload date:
- Size: 72.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c8f788edb902ea423cb5d54ae1fb6ab593b3c5743c455c99f10b1057105284
|
|
| MD5 |
32494cb30906c5505aa66c3e172f4bc3
|
|
| BLAKE2b-256 |
832be13dfea9702ca10daaa86c0f952f997b63bd379ed9d3014ce5b674e3cf30
|
Provenance
The following attestation bundles were made for mritk-0.4.0.tar.gz:
Publisher:
pypi.yml on scientificcomputing/mri-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mritk-0.4.0.tar.gz -
Subject digest:
c8c8f788edb902ea423cb5d54ae1fb6ab593b3c5743c455c99f10b1057105284 - Sigstore transparency entry: 1396594505
- Sigstore integration time:
-
Permalink:
scientificcomputing/mri-toolkit@b4ebc9402286467c043501729f1d98fabe9a3c4a -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/scientificcomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b4ebc9402286467c043501729f1d98fabe9a3c4a -
Trigger Event:
push
-
Statement type:
File details
Details for the file mritk-0.4.0-py3-none-any.whl.
File metadata
- Download URL: mritk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 61.2 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 |
3e8b7142cde73e80a08bd9d59f80cc32ccbaf41eefb7ab210601335bca9627a6
|
|
| MD5 |
7d7f13360066ed7e13c2023092231d13
|
|
| BLAKE2b-256 |
7840c97d8c18ef984732736bd61ba644509cff5a493d6ea5999da83fa5938c87
|
Provenance
The following attestation bundles were made for mritk-0.4.0-py3-none-any.whl:
Publisher:
pypi.yml on scientificcomputing/mri-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mritk-0.4.0-py3-none-any.whl -
Subject digest:
3e8b7142cde73e80a08bd9d59f80cc32ccbaf41eefb7ab210601335bca9627a6 - Sigstore transparency entry: 1396594533
- Sigstore integration time:
-
Permalink:
scientificcomputing/mri-toolkit@b4ebc9402286467c043501729f1d98fabe9a3c4a -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/scientificcomputing
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b4ebc9402286467c043501729f1d98fabe9a3c4a -
Trigger Event:
push
-
Statement type: