Installation Instructions¶

Prerequisites¶

You’ll need a recent python 2.7+ or 3.4+ installation. The main dependency is

which in turn depends on

Optional but recommended dependencies are:

6. the netCDF 4 library with its python bindings;

You should also have a working HEASoft installation to produce the cleaned event files and to use XSpec.

Installing releases¶

$pip install hendrics numba emcee statsmodels netcdf4 matplotlib stingray>=0.1  Installing the Development version¶ Download¶ Download the distribution directory: $ git clone git@github.com/StingraySoftware/HENDRICS


Or

$git clone https://github.com/StingraySoftware/HENDRICS  To update the software, just run $ git pull


from the source directory (usually, the command gives troubleshooting information if this doesn’t work the first time).

Installation¶

Install the dependencies above; then, enter the distribution directory and run

\$ pip install .


this will check for the existing dependencies and install the files in a proper way. From that point on, executables will be somewhere in your PATH and python libraries will be available in python scripts with the usual

import hendrics