1.1. For Pandeia Engine v2026.1 & v2026.7

Python Requirements:

Required Recommended

python >=3.9

3.13.12

numpy >=1.21

2.4.2

scipy >=1.9.2

1.17.1

astropy >=5.3

7.2.0
photutils 2.3.0
synphot >=1.0 1.6.1
stsynphot >=1.0 1.5.0
setuptools 81.0.0

Installing the Pandeia Engine requires a python environment with the dependencies listed above, a set of telescope-specific datafiles, and an optional (but highly recommended) second set of data files for additional spectral manipulation capabilities.

2. Code

The engine can be installed with

pip install pandeia.engine==2026.7

or for Roman:

pip install pandeia.engine==2026.1
We highly recommend installing into a fresh python environment, such as ones provided by the Anaconda Python distribution, to avoid problems. If you experience issues after installing the Pandeia Engine, consider starting again with a fresh python installation and a clean new set of data files.

Then set up the data files.

3. Data

3.1. Required Data

In order to function, the Pandeia Engine requires one (or for the more recent Roman release, two) set of reference data (containing instrument definitions):

Download and untar the files to a suitable location.

(looking for an older version of the ETC? Check the bottom of the page)

Environment variable:
$pandeia_refdata must point to the location of the top of the data file tree: the directory containing the VERSION_DATA file
$PSF_DIR must point to the location of the top of the psf file tree: the directory containing the VERSION_PSF file

Installing both data packages

It is now recommended to install the JWST data files and Roman data files into separate Python installations. Roman users no longer need to download the JWST data files to normalize by JWST bandpasses, but those JWST files cannot be used to perform JWST exposure time calculations.

Once untarred, the files will produce a directory tree of grp/redcat/trds. The pandeia.engine uses the contents of the trds directory.

3.2. Recommended Data

The rest of the Synphot datasets are optional and enable specific classes of template spectra.

  • Synphot 2 (Stellar and Galactic Model Files - brown2014, pickles, bz77)
  • Synphot 3 (Castelli & Kurucz 2004 Atlas  - ck04models)
  • Synphot 4 (Kurucz 1993 Atlas - k93models)
  • Synphot 5 (Phoenix models - phoenix)
  • Synphot 7 (JWST ETC Spectra - atmo2020, brown2019, comp_qso, swire, novae, stellar_pop, solsys, pne)

Once untarred, the files will produce a directory tree of grp/redcat/trds. The pandeia.engine uses the contents of the trds directory.

Environment variable: $PYSYN_CDBS must point to the trds directory (NOT grp)

4. Verify Installation

Open up a terminal with access to the conda installation, and type

python -c "import pandeia.engine; pandeia.engine.pandeia_version()"

If properly installed and configured, it should show the refdata version and synphot data directory, like this:

Pandeia Engine version:  2026.7
Pandeia RefData version: 2026.7
Pandeia PSFs version:    2026.7
Pysynphot Data:  /your/data/directory/synphot

or for Roman:

Pandeia Engine version:  2026.1
Pandeia RefData version: 2026.1
Pandeia PSFs version:    2026.1
Pysynphot Data:  /your/data/directory/synphot

5. Helper Script

The following script (which can also be added to your .bashrc or .bash_profile file) assumes you are operating in a BASH shell where a python installation has been installed and activated, that you've installed the pandeia refdata in ${HOME}/data/pandeia, the pandeia PSF library in ${HOME}/data/pandeia_psfs, and the cdbs folder from the additional dataset moved and renamed to ${HOME}/data/synphot


Installation script
#!/bin/sh
export PYSYN_CDBS=${HOME}/data/synphot
export pandeia_refdata=${HOME}/data/pandeia
export PSF_DIR=${HOME}/data/pandeia_psfs

Once in place, "source"ing this file will set up the pandeia environment.

6. Old Versions

Unsupported

Only the latest version of the ETC for each mission is officially supported. These older versions of the Pandeia Engine and associated data files are provided only for archival interest, and should NOT be used to plan new proposals. The oldest versions are almost certainly not compatible with modern Python installations (numpy 2.x, etc.)

Release Engine Link Data Files
JWST 5.1 https://pypi.org/project/pandeia.engine/2026.2/
Roman R2025.9 https://pypi.org/project/pandeia.engine/2025.9/
JWST 5.0 https://pypi.org/project/pandeia.engine/2025.7/
Roman R2025.5 https://pypi.org/project/pandeia.engine/2025.5/
JWST 4.1 https://pypi.org/project/pandeia.engine/2025.3/ https://stsci.box.com/v/pandeia-refdata-v2025p3-jwst
Roman R2024.12 https://pypi.org/project/pandeia.engine/2024.12/

https://stsci.box.com/v/pandeia-data-v2024p12-roman

Roman R2024.9.1 https://pypi.org/project/pandeia.engine/2024.9.1/
Roman R2024.9 https://pypi.org/project/pandeia.engine/2024.9/ https://stsci.box.com/v/pandeia-refdata-v2024p9-roman
JWST 4.0 https://pypi.org/project/pandeia.engine/4.0/ https://stsci.box.com/v/pandeia-refdata-v4p0-jwst
JWST 3.2 https://pypi.org/project/pandeia.engine/3.2/ https://stsci.box.com/v/pandeia-refdata-v3p2-jwst
Roman 3.1 https://pypi.org/project/pandeia.engine/3.1/ https://stsci.box.com/v/pandeia-refdata-v3p1-roman
JWST 3.0 https://pypi.org/project/pandeia.engine/3.0/ https://stsci.box.com/v/pandeia-refdata-v3p0-jwst
Roman 3.0 https://pypi.org/project/pandeia.engine/3.0/ https://stsci.box.com/v/pandeia-refdata-v3p0-roman
  • No labels