Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gmri2fem-0.2.2a1.tar.gz (47.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gmri2fem-0.2.2a1-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file gmri2fem-0.2.2a1.tar.gz.

File metadata

  • Download URL: gmri2fem-0.2.2a1.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for gmri2fem-0.2.2a1.tar.gz
Algorithm Hash digest
SHA256 f158cd41381cdb1ec70b99a64ae3d527a6d1ce79e66fffbd615c4db21034a516
MD5 3fc31c6a3c0d6e2683af14e5c2ac4b21
BLAKE2b-256 f3c00849db49e520c56bfe7dc0972da751e98cbd39d652447599b162892492d4

See more details on using hashes here.

File details

Details for the file gmri2fem-0.2.2a1-py3-none-any.whl.

File metadata

  • Download URL: gmri2fem-0.2.2a1-py3-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for gmri2fem-0.2.2a1-py3-none-any.whl
Algorithm Hash digest
SHA256 974ac4746cbf9381554354003882769ab41ea323871c151fa888c4c56420bf6b
MD5 d6d86464db455c2fd71e7a15408dc45f
BLAKE2b-256 38c970dbdc776e8f96870d026ec480d2132af7c5c0eada3129a53f8132f922cd

See more details on using hashes here.

Supported by

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