Installation Guide#

Stable Version#

It is recommended to install ELISA in a new conda environment as follows:

  1. Create a new conda environment. The following command creates a new environment named “elisa” with Python 3.11:

    conda create -n elisa python=3.11
    

    Note that you can customize the environment name to your preference, and the Python version should range from 3.10 to 3.13.

  2. Activate the environment we just created:

    conda activate elisa
    
  3. Install ELISA using pip:

    pip install astro-elisa
    

Use XSPEC Models#

If you want to use models from XSPEC, make sure HEASoft and XSPEC v12.12.1+ are installed on your system, and the HEASoft environment is initialized, then use the following command to install xspex:

pip install xspex

For more details, see the corresponding API docs.

Development Version#

The latest version of ELISA can be installed by the following command:

pip install -U git+https://github.com/wcxve/elisa.git