recipe heasoft

NASA High Energy Astrophysics Software (HEAsoft)

Homepage:

https://heasarc.gsfc.nasa.gov/lheasoft/

Documentation:

https://heasarc.gsfc.nasa.gov/docs/software/heasoft/

License:

Clear BSD License

Recipe:

/heasoft/meta.yaml

HEAsoft is a unified release of FTOOLS and XANADU software packages for high energy astrophysics data analysis, including tools like XSPEC.

After installation, users should initialize the HEAsoft environment with:

``` export HEADAS=$(ls -d "${CONDA_PREFIX}/x86_64-pc-linux-gnu-libc"*/ | head -n 1) source ${HEADAS}/headas-init.sh export LHEAPERL=${CONDA_PREFIX}/bin/perl ```

This setup configures numerous environment variables required for HEAsoft, including: PATH, LD_LIBRARY_PATH, PFILES, PERL5LIB, PYTHONPATH, and various component-specific variables like PGPLOT_DIR, XANADU, and POW_LIBRARY.

Note that LHEAPERL needs to be manually set to point to your Conda environment's Perl interpreter after sourcing headas-init.sh.

For mission-specific functionality (e.g., Swift, NuSTAR, IXPE), additional environment setup may be needed. See the HEAsoft documentation for details.

**Warning for Xspec users**: The /spectral/modelData directory (~5.9GB) is excluded to reduce package size, rendering Xspec unusable without it. To enable Xspec: 1. Download the HEASoft source tarball for the same version as this package (6.35.1):

```bash wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft6.35.1/heasoft-6.35.1src.tar.gz ``` Replace 6.35.1 with the package version (e.g., 6.35.1).

  1. Extract: ```bash tar zxf heasoft-6.35.1src.tar.gz ```

  2. Copy the modelData directory: ```bash mkdir -p $CONDA_PREFIX/spectral cp -r heasoft-6.35.1/Xspec/src/spectral/modelData $CONDA_PREFIX/spectral/ ```

package heasoft

(downloads) docker_heasoft

versions:

6.35.1-0

depends astropy:

>=6.1.4

depends astropy-iers-data:

depends curl:

>=8.13.0,<9.0a0

depends gsl:

>=2.7,<2.8.0a0

depends gsl:

>=2.7,<3.0a0

depends libgcc:

>=13

depends libgcc-ng:

>=15.1.0,<16.0a0

depends libgfortran:

depends libgfortran-ng:

>=15.1.0,<16.0a0

depends libgfortran5:

>=13.3.0

depends libpng:

>=1.6.47,<1.7.0a0

depends libpng:

>=1.6.47,<2.0a0

depends libstdcxx:

>=13

depends libstdcxx-ng:

>=15.1.0,<16.0a0

depends libzlib:

>=1.3.1,<2.0a0

depends matplotlib-base:

>=3.9.2

depends ncurses:

>=6.5,<7.0a0

depends numpy:

>=1.21,<3

depends numpy:

>=2.2.6,<3.0a0

depends perl:

>=5.32.1

depends python:

>=3.13,<3.14.0a0

depends python_abi:

3.13.* *_cp313

depends readline:

>=8.2,<9.0a0

depends scipy:

>=1.14.1

depends xorg-libx11:

>=1.8.12,<2.0a0

depends xorg-libxext:

>=1.3.6,<2.0a0

depends xorg-libxt:

>=1.3.1,<2.0a0

depends xorg-xextproto:

>=7.3.0,<8.0a0

depends xorg-xproto:

>=7.0.31,<8.0a0

depends zlib:

>=1.3.1,<2.0a0

requirements:

additional platforms:

Installation

You need a conda-compatible package manager (currently either micromamba, mamba, or conda) and the Bioconda channel already activated (see set-up-channels).

While any of above package managers is fine, it is currently recommended to use either micromamba or mamba (see here for installation instructions). We will show all commands using mamba below, but the arguments are the same for the two others.

Given that you already have a conda environment in which you want to have this package, install with:

   mamba install heasoft

and update with::

   mamba update heasoft

To create a new environment, run:

mamba create --name myenvname heasoft

with myenvname being a reasonable name for the environment (see e.g. the mamba docs for details and further options).

Alternatively, use the docker container:

   docker pull quay.io/biocontainers/heasoft:<tag>

(see `heasoft/tags`_ for valid values for ``<tag>``)

Download stats