Page History
Table of Contents |
---|
For Pandeia Engine v3v4.0 /v3.1/v3.2& v2024.9
Python Requirements:
Required | Recommended | ||
---|---|---|---|
python >=3.8+9 | 3.1112.3 | ||
numpy >=1.17+21 | 1.2326.53 | ||
scipy >=1.9.2 | 1.1013.10 | ||
astropy >=5+.3 | 56.20.21 | ||
photutils | 1.712.0 | ||
synphot >=1.0+ | 1.24.0 | ||
stsynphot >=1.0 | +1. | 23.0 | |
six | 1.16.0 | ||
setuptools | 6769.75.01 |
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.
...
Code Block | ||
---|---|---|
| ||
pip install pandeia.engine==34.20 |
or for Roman:
Code Block | ||
---|---|---|
| ||
pip install pandeia.engine==32024.19 |
Warning |
---|
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. |
...
- James Webb Space Telescope: https://stsci.app.box.com/v/pandeia-refdata-v3p2v4p0-jwst
- Nancy Grace Roman Space Telescope: https://stsci.box.com/v/pandeia-refdata-v3p1v2024p9-roman
Download and untar the files to a suitable location.
...
Note | ||
---|---|---|
| ||
You CAN untar both sets of files to the same location and run calculations for Webb and RomanJWST and Roman (or use JWST bandpasses for normalization with Roman). The sole difference between the packages are the jwst/ and roman/ directories (and the VERSION_PSF file, to reflect that Roman PSFs were regenerated with WebbPSF 1. 0, instead of WebbPSF 1.1). You can either untar the second telescope on top of the first one and overwrite any files when prompted, or copy just the second telescope's directory into the $pandeia_refdata location. |
Recommended Data
- An additional dataset: The base Synphot reference atlas. The Synphot reference atlases (https://archive.stsci.edu/hlsp/reference-atlases can be ) are used to provide more spectroscopic functionality (phoenix spectral models, normalization by HST bandpasses, among others)..
Only Synphot 1 (normalization bandpasses, HST bandpasses) is required: https://archive.stsci.edu/hlsps/reference-atlases/hlsp_reference-atlases_hst_multi_everything_multi_v16_sed.tar
Once untarred, the files will produce a directory tree of grp/redcat/trds. The pandeia.engine uses the contents of the trds directory.
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)
...
Code Block |
---|
Pandeia Engine version: 34.20 Pandeia RefData version: 34.20 Pysynphot Data: /your/data/directory/synphot |
...
Code Block |
---|
Pandeia Engine version: 32024.19 Pandeia RefData version: 32024.19 Pysynphot Data: /your/data/directory/synphot |
...