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.
Metadata
Release files for gmri2fem 0.2.8
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 |
|---|---|---|---|---|
| gmri2fem-0.2.8.tar.gz | 48.9 kB | Without provenance | Details for gmri2fem-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gmri2fem-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for gmri2fem-0.2.8-py3-none-any.whl |
Total release size: 113.8 kB
Release files / gmri2fem-0.2.8.tar.gz
| Download URL | gmri2fem-0.2.8.tar.gz |
|---|---|
| Size | 48.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa393af3d5925b2f7a482006391b5fbd1513793dc3cd249c8866f34c1d52c80e
|
|
BLAKE2b-256 checksum How to use checksums |
1d53c8e664458d08a0a5f50be51ac9fa9bbd109f9258f4d8c8eacf3189b005b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / gmri2fem-0.2.8-py3-none-any.whl
| Download URL | gmri2fem-0.2.8-py3-none-any.whl |
|---|---|
| Size | 64.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ba799ebb838f06659a01269f05cbe8cb91e0aca056d79ff31066dd8f3930c7c
|
|
BLAKE2b-256 checksum How to use checksums |
68572f188a1eebb69c65334494cecbdd3346920e0a46a421d05a03fb29aea3c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for gmri2fem 0.2.8
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.