Installation#

Installing XSNAP#

We strongly recommend that you make use of Python virtual environments, or (even better) Conda virtual environments when installing XSNAP.

Currently, XSNAP is available for download in the popular Python Package Index (PyPI) .

pip install xsnap

Additionally, XSNAP should be able to be downloaded by cloning this Github repository and run:

git clone https://github.com/fercananything/XSNAP/
cd XNAP
python -m pip install .

Dependencies#

Required Dependencies#

XSNAP analysis depends heavily on two non-Python softwares:

  • HEASOFT - Version 6.35.

    Other recent versions should be compatible even if I have yet to test it. It is best to install all the packages; otherwise, install at least NuSTAR, Swift, all of General-Use FTOOLS, and all of XANADU.

  • HEASOFT’s PyXspec - Version 2.1.4 (or XSPEC - Version 12.15.0).

    Other recent versions should be compatible even if I have yet to test it. Additionally, PyXspec should be automatically installed when you install HEASOFT.

Optional Dependencies#

This software is completely optional and has minimal impact on the user experience.

  • DS9 - Version 4.1 and above.

    DS9 is needed to help user’s interactivity in making region files. This is (optionally) useful to run make-region.