SOXS and its dependencies are installed as a standard Python package, and it is compatible with Python 3.9 and higher. You may use pip to install it (if you do not have pip, check that your executable is not named pip3, otherwise visit to download it):

pip install soxs

If the Python distribution is not “owned” by you on your machine you might have to call sudo pip install soxs. If you need to upgrade from a previous version of SOXS, issue [sudo] pip install -U soxs from the command line.

If you use Anaconda Python, you may install SOXS using conda:

conda install -c conda-forge soxs

These methods install both the Python interface and the command-line scripts.

Of course, you can always clone the source from GitHub and install it manually:

git clone
cd soxs
pip install .

or run pip install -e . instead if you want to make changes to the code and see them reflected without recompiling (though if you make updates to the command-line scripts you will have to run pip install -e . again).

SOXS Dependencies

SOXS has the following Python dependencies:

Using any installation method, these dependencies should automatically install (if you do not already have them) provided you are connected to the internet.

Optional Packages

There are also a number of optional packages which may be used with SOXS to enhance its capabilities.

  • To make mock X-ray observations from 3D hydrodynamics models and other models of astrophysical sources, use the pyXSIM package with SOXS.

  • To make mosaics of SOXS observations (see Making Mosaics of SOXS Images), install the reproject package.