Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 685 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 685 Bytes

A tools collection for MHD/RAW files

Dependencies

Python packages:

  • click
  • SimpleITK
  • scipy
  • numpy
  • matplotlib==3.5.2

Installation

A python virtual environment is advised:

# move somewhere you want your environment to be
python -m venv mhdtools
source mhdtools/bin/activate
pip install -U pip
pip install click SimpleITK scipy numpy matplotlib==3.5.2

Helper script

To avoid having to source the python environment manually, one can write this helper script:

#!/usr/bin/bash

source /path/to/mhdtools/bin/activate
/path/to/mhdview "$@"

To do:

  • name the script below mhdview
  • adapt paths to your installation (env and mhdview)