Page History
Table of Contents |
---|
For Pandeia Engine v1.5.1
Python Requirements:
Required | Recommended |
---|---|
python 2.7+ | 3.6.5 |
numpy 1.13.3+ | 1.15.4 |
scipy >1.4 | 1.1.0 |
astropy 2--3 | 2.0.9 |
photutils | 0.4 |
pysynphot | 0.9.12 |
setuptools | 40.8.0 |
Warning |
---|
pandeia.engine v1.5.1 is not compatible with scipy 1.4+ or astropy 4+ pandeia.engine v1.5.1 is the final version compatible with Python 2.7 |
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
We recommend using the Anaconda python distribution.
...
Code Block | ||
---|---|---|
| ||
conda create -n pandeia stsci numpy scipy=1.1 astropy=2 photutils pysynphot setuptools python=3.6 |
from a terminal with access to the conda environment.
...
*Both telescope datasets may be untarred to the same location to produce an engine that can work with either telescope; any files the two packages have in common may be overwritten.
...
Recommended Data
- An additional dataset: http://archive.stsci.edu/pub/hst/pysynphot/ can be used to provide more spectroscopic functionality (phoenix spectral models, normalization by HST bandpasses, normalizing in among others).
...
If properly installed and configured, it should show the refdata version and synphot data directory, like this:
Code Block |
---|
Pandeia Engine version: 1.5.1 Pandeia RefData version: 1.5.1 Pysynphot Data: /your/data/directory/pysynphot |
Helper Script
The following script assumes you are operating in a terminal where a conda installation has been installed in $HOME/anaconda
and has been activated, that you've installed the pandeia refdata in ${HOME}/data/pandeia
, and the cdbs folder from the additional dataset moved and renamed to ${HOME}/data/pysynphot
...