Implementation of the UMPIRE algorithm from the following paper:
Simon Robinson, Horst Schödl, Siegfried Trattnig, 2014 July, "A method for unwrapping highly wrapped multi-echo phase images at very high field: UMPIRE", Magnetic Resonance in Medicine, 72(1):80-92 DOI: 10.1002/mrm.24897
Check out the jupyter notebooks inside the notebooks folder for some help on how to use this module!
Depending on wether you want to only use or also contribute to the package, choose the appropriate installation.
$ git clone https://github.com/DiracKeteering/UMPIRE.git
$ cd UMPIRE
$ pip install -e .
$ git clone https://github.com/DiracKeteering/UMPIRE.git
$ cd UMPIRE
$ pip install -e ".[dev]"
All package handling is done inside the pyproject.toml
file. Here are the steps necessary to add dependencies to the package:
-
Before adding a dependency to the package, make sure it is compatible! (See Tox!)
-
Open the file
pyproject.toml
and go to[project]
. Then, add the dependency inside thedependencies
-list. You can use the syntax listed here to specify the dependencies. -
Use the
pip-tools
command to compile dependencies files:
- Generate usage dependencies file:
$ pip-compile --output-file=requirements.txt --resolver=backtracking
- Generate development dependencies file:
$ pip-compile --extra=dev --output-file=dev-requirements.txt --resolver=backtracking pyproject.toml