Skip to main content

Reproducible and efficient diffusion kurtosis imaging in Python.

Project description

dkmri.py

dkmri.py stands for diffusion kurtosis magnetic resonance imaging in Python. It is a Python package for estimating diffusion and kurtosis tensors from diffusion-weighted magnetic resonance data. The estimation is performed using regularized non-linear optimization informed by fully-connected feed-forward neural networks that are trained to learn the mapping from data to kurtosis metrics. Details can be found in the upcoming publication and source code.

Installation

dkmri.py can be installed with pip:

pip install dkmri

Usage example

This software can be used from the command line or in a Python interpreter. The command-line interface does not require any knowledge about Python, whereas the Python interface is made for people who are comfortable with basic Python programming.

Command-line interface

The command for using dkmri.py is

dkmri.py data bvals bvecs optional-arguments

where data, bvals, and bvecs are the paths of the files containing the diffusion-weighted data, b-values, and b-vectors, and optional-arguments is where to define things such as which parameter maps to save.

For example, a command for computing a mean kurtosis map from data.nii.gz and saving it in mk.nii.gz could be

dkmri.py data.nii.gz bvals.txt bvecs.txt -mask mask.nii.gz -mk mk.nii.gz

To see a full description of the arguments, execute the following:

dkmri.py -h

Python interface

See the example notebook.

Support

If you have questions, found bugs, or need help, please open an issue on Github.

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

dkmri-0.0.4.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file dkmri-0.0.4.tar.gz.

File metadata

  • Download URL: dkmri-0.0.4.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.10.0 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for dkmri-0.0.4.tar.gz
Algorithm Hash digest
SHA256 bab0148c63e80b21d75c4f45d1be70427ea1aa9003e20469c8e4b97320364e0e
MD5 42539e0c5b142e0c0421ac57f1d98e52
BLAKE2b-256 9295b69f2831270d11d97128f4e5397c6075b90b52c532c82f0ae89e75947c53

See more details on using hashes here.

Supported by

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