Installation and dependencies

First create a new environment dedicated to run MoDiSc.

$ conda create -n modisc_env python=python3.9

Activate this environment

$ conda activate modisc_env

Install MoDiSc via pip:

$ pip install MoDiSc

The packages required by MoDiSc are indicated in MoDiSc/packages.py. Most of the packages can be installed via

$ pip install packagename

Exceptions:

  • opencv must be installed via

$ pip install opencv-python
  • emcee: the appropriate version of the emcee package to be used by MoDiSc is located in MoDiSc/emcee/ on GitHub.

Warning

Do not forget to add the emcee package in the folder where the other packages of your environment modisc_env are installed.