Installation¶
To begin, it is strongly advised that you separate your PanCAKE installation within an Anaconda environment. This is a flexible way to manage many Python environments at once to ensure packages don’t clash, and that the installation of a new package doesn’t break your entire Python installation.
To initialise an Anaconda environment for PanCAKE use the following:
conda create -n pcake python=3
With the environment created, enter it
conda activate pcake
and install the PanCAKE package and all relevant dependencies
pip install git+https://github.com/AarynnCarter/PanCAKE.git
Necessary Data Files¶
PanCAKE makes use of the Pandeia, WebbPSF, and synphot packages that require their own separate data files. You may find that certain aspects of PanCAKE will work without some of these data files, but to access all of PanCAKE’s functionality, they must be downloaded.
Put these folders somewhere sensible on your hard drive, making sure you combine the Synphot files. Also
Finally adjust your ~/.bashrc file to include the following lines (adjusted accordingly to where you saved the above):
export pandeia_refdata="/path/to/pandeia/data/directory"
export WEBBPSF_PATH="/path/to/webbpsf/data/directory"
export PYSYN_CDBS="/path/to/synphot/data/redcat/trds"
NOTE: The final export must map directly to the /redcat/trds/ directory, and not the encompassing /grp/ directory.
With all the above done, you should have everything you need to start using PanCAKE!