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
`_)