Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

For Pandeia Engine v1.5.1

Python Requirements:

RequiredRecommended

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
photutils0.4
pysynphot0.9.12
setuptools40.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

Code

We recommend using the Anaconda python distribution.

...

If properly installed and configured, it should show the refdata version and synphot data directory.

Python Requirements

...

python 2.7+

...

numpy 1.13.3+

...

scipy >1.4

...

astropy 2--3

...

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


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

Code Block
languagebash
titleInstallation script
linenumberstrue
conda config --add channels http://ssb.stsci.edu/astroconda
conda create -n pandeia stsci numpy scipy=1.1 astropy=2 python=3.6
mkdir -p ~/anaconda/envs/pandeia/etc/conda/activate.d
cat >>~/anaconda/envs/pandeia/etc/conda/activate.d/env_vars.sh <<EOF
#!/bin/sh
export PYSYN_CDBS=${HOME}/data/pysynphot
export pandeia_refdata=${HOME}/data/pandeia
EOF
mkdir -p ~/anaconda/envs/pandeia/etc/conda/deactivate.d
cat >>~/anaconda/envs/pandeia/etc/conda/deactivate.d/env_vars.sh <<EOF
#!/bin/sh
unset PYSYN_CDBS
unset pandeia_refdata
EOF
conda activate pandeia
pip install pandeia.engine==1.5.1

...