Requirements

The following python packages are needed for AIMS:

  • dill

  • emcee

  • ptemcee

    • this is only needed if you decide to do parallel tempering

    • note: This is a different version than the one available on PyPI as this version contains a bugfix for newer versions of python. It can be installed with pip install ptemcee@git+https://github.com/waltervrossem/ptemcee@f6e91e7

  • corner

    • note: this used to be called triangle in previous releases

  • scipy

  • numpy

  • f2py

    • this is usually included with numpy

  • matplotlib

  • multiprocessing

    • this is already part of the standard python library

  • tqdm

  • lxml

For convenience, a requirements.txt file has been included. This allows the user to install the needed python packages via the command:

pip install -r requirements.txt

Note

This version of SPInS is compatible both with versions 2 and 3 of emcee, an MCMC package written in python (see Foreman-Mackey et al., 2013, PASP 125, 306).

However, as of version 3, emcee no longer supports parallel tempering. Therefore, SPInS now uses the separate package ptemcee for parallel tempering. This also has the added benefit of enabling the use of dynamic temperatures which may speed up convergence in some cases (see Vousden, Farr, and Mandel, 2016, MNRAS 455, 1919)