Processing pipeline for glymphatic MRI.
Project description
gMRI2FEM
gmri2fem is a python package for processing of human glymphatic MRI-images, i.e. contrast-enhanced brain images, with special focus on concentration-estimation and conversion into dolfin for mathematical modelling of brain tracer transport using the finite element method.
The data functionality was developed for the MRI processing workflow for the GRIP-project.
The package both provide a library of useful functions as well as a CLI for processing different types of images.
Installation
Dependencies
gmri2fem has some python- and non-python dependencies which are not easily installable through pip:
- FreeSurfer
- greedy
- FEniCS
- SVMTK
Instructions for how to install these may be found on their websites.
It is, however, possible to gmri2fem and run large portions of the pipeline whithout these dependencies.
To install the python package gmri2fem, clone this repository and run
pip install .
from the root directory. This will install the python packages and the CLI.
Example usage
For a rough documentation on how to use the various exposed CLI-commands, we recommend looking at the Snakefiles for the Gonzo data pipeline at (https://github.com/jorgenriseth/gonzo). The CLI has several levels of subcommands. To run the main entrypoint:
$ gmri2fem --help
Usage: gmri2fem [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
brainmeshing
dcm2nii-ll
dcm2nii-mixed
dti
i2m
mri
seg
MRI
Usage: gmri2fem mri [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
concentration
hybrid-t1map
looklocker-t1-postprocessing
looklocker-t1map
mixed-t1map
reslice4d
t1-to-r1
t1w-normalize
t1w-sigdiff
Example command:
Usage: gmri2fem mri looklocker-t1map [OPTIONS]
Options:
--input PATH [required]
--timestamps PATH [required]
--output PATH [required]
--help Show this message and exit.
Project details
Release history Release notifications | RSS feed
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 gmri2fem-0.2.7.tar.gz.
File metadata
- Download URL: gmri2fem-0.2.7.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a409cc0b48fbb0db40a53457126e95dc5c88cd9104f88758a6fbf48fbc4c10e
|
|
| MD5 |
d9fcd5a147305719c62db5b6b0157aed
|
|
| BLAKE2b-256 |
f52ef77368ddbc8db6d3208f9341f17cfd77a6571e58fb907c4b7cc3bfa38cbc
|
File details
Details for the file gmri2fem-0.2.7-py3-none-any.whl.
File metadata
- Download URL: gmri2fem-0.2.7-py3-none-any.whl
- Upload date:
- Size: 64.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b433e8f6b54ace6278fe76e0874135b84763a6bcf95909c0bea2bbffc24053b2
|
|
| MD5 |
65490878278b93ef38022246a3bc3871
|
|
| BLAKE2b-256 |
af55f0af53c92f40e61d86265b794859ec8d6ce488fd46274a39d56eba0c6024
|