Installation

The code is hosted on GitHub. You can install latest stable release with:

$ pip install dtmm

Or you can clone or download the latest development code from the repository and run:

$ python setup.py install

which should install the package, provided that all requirements are met.

Requirements

Prior to installing, you should have a working python 3.x environment consisting of:

  • numba >=0.35.0

  • numpy

  • scipy

  • matplotlib

To install these it is best to go with one of the python distributions, e.g. anaconda, or any other python distribution that comes shipped with the above packages.

Note

It is important that you have recent enough version of numba installed.

For faster FFT calculation, you should also install mkl_fft that is readily available in both anaconda. See the Configuration & Tips for details.

Installing in Anaconda

After you have downloaded the package, open the terminal (command prompt) cd to the downloaded source code and run:

$ conda install numba scipy matplotlib numba
$ pip install cddm

Optionally, for faster FFT computation, you can install mkl_fft:

$ conda install mkl_fft