- recipe heasoft
NASA High Energy Astrophysics Software (HEAsoft)
- Homepage:
- Documentation:
- License:
Clear BSD License
- Recipe:
HEAsoft is a unified release of the FTOOLS and XANADU software packages for high-energy astrophysics data analysis, including tools like XSPEC.
After installation, users must **initialize the HEAsoft environment** by running the following commands:
``` 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 several environment variables required for HEAsoft, including `PATH`, `LD_LIBRARY_PATH`, `PFILES`, `PERL5LIB`, `PYTHONPATH`, and component-specific variables such as `PGPLOT_DIR`, `XANADU`, and `POW_LIBRARY`.
**Note**: `LHEAPERL` must 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 required. Refer to the HEAsoft documentation for details.
**Warning for XSPEC Users**: The `/spectral/modelData` directory (~5.9GB) is excluded from this package to reduce its size, making XSPEC unusable without it.
To enable XSPEC, follow these steps:
Download the HEAsoft source tarball for the same version as this package (6.35.1): ``` wget https://heasarc.gsfc.nasa.gov/FTP/software/lheasoft/lheasoft6.35.1/heasoft-6.35.1src.tar.gz ``` Replace `6.35.1` by the actual the package version (e.g., 6.35.1).
Extract the tarball: ``` tar zxf heasoft-6.35.1src.tar.gz ```
Copy the `modelData` directory to the appropriate location: ``` mkdir -p "${CONDA_PREFIX}/spectral" cp -r heasoft-6.35.1/Xspec/src/spectral/modelData "${CONDA_PREFIX}/spectral/" ```
- package heasoft¶
- versions:
6.35.1-1
,6.35.1-0
- depends astropy:
>=6.1.4
- depends astropy-iers-data:
- depends curl:
>=8.14.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¶
Link to this page¶
Render an badge with the following MarkDown:
[](http://bioconda.github.io/recipes/heasoft/README.html)