COMMIT is written in Python and it internally makes use of the DIPY library. Also, some parts of the code require to be compiled and this is done via the Cython module. Please install and configure all these packages by following the guidelines on the corresponding websites.
COMMIT was succesfully tested on:
- OSX 10.10, Anaconda Python distribution and DIPY 0.9.0dev.
COMMIT shares the code for the generation/rotation of the response-function lookup tables with AMICO. Please install AMICO following the instructions here.
NB: in order to use COMMIT, it is only necessary to install the Python code; no additional modules (e.g. SPAMS and NODDI) are required.
Depending on the forward-model employed, COMMIT can require the Camino toolkit to generate the response functions, e.g. in case of the Cylinder-Zeppelin-Ball
model.
Please follow the corresponding documentation to install Camino and make sure to include the folder containing the script datasynth
in your system path.
Open the system shell, go to the folder where you downloaded this repository and run:
pip install .
COMMIT is now available in your Python interpreter and can be imported as usual:
import commit
Open the system shell and run:
pip uninstall commit