Installation

Requirements

Naima needs Python 3.9 or above. It also requires the following packages to be installed: Numpy, Scipy, Astropy, Matplotlib, emcee, corner, and h5py. These will be installed automatically if you follow one of the installation methods below.

The Sherpa models can be used if the Sherpa package is installed.

All of the above packages are available in a typical scientific python installation (or in all-in-one Python installations such as the Anaconda Python Distribution) or can be installed through pip.

Installing naima

You can install Naima in an existing Python installation through pip. It is recommended to install it in its own virtual environment, otherwise you may need to use sudo if you want to install it system-wide, or the flag --user to install only for the current user

$ pip install naima

Installing the development version

To install from the latest development source, install Naima from the github repository through pip

$ pip install git+http://github.com/zblz/naima.git#egg=naima