Installation Instructions ========================= Prerequisites ------------- You'll need a recent python 3.8+ installation. The main dependency is 1. `Stingray `__, which in turn depends on 2. `Numpy `__; 3. `Matplotlib `__; 4. `Scipy `__; 5. `Astropy `__ **Optional but recommended** dependencies are: 6. the `netCDF 4 library `__ with its `python bindings `__; 7. `Numba `__; 8. `statsmodels `__ 9. `emcee `__ 10. `pint `__ 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>=1.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 .. code-block :: python import hendrics