Tool for the Planet Systems Imager to simulate the universe, generate planet spectra, evaulate instrument performance, and determine how well PSI can do science. The framework is intended to be flexible enough to enable similar analyses for other instruments.
Features of psisim
:
- Create various exoplanet populations using EXOSIMS (e.g., known RV planets, simulated planets following Kepler occurence rates)
- Simulate reflected and thermal emission spectra of gas giants and terrestrial planets using PICASO
- Simulate planet fluxes based on evolutionary cooling models
- Estimate polarized fluxes of exoplanets
- Performance estimates of the AO system as a function of star brightness and ability to correct atmospheric turbulence
- Handle detector noise, thermal emission, sky transmission
- Object orietented so easy to implement multiple sites and instrumnets
Many of these features are works in progress so please contact Max or Jason if you're having troubles.
Pull this repository:
> git clone https://github.com/planetarysystemsimager/psisim.git
If you have a new OSX installation you may need to download and install xcode.
Move into that directory and run the following to pip install psisim
and its dependencies:
> pip install -e .
Note that some dependencies like pysynphot
require some manual steps (see below):
In order to run the simulations for HISPEC, HISPEC error budgets and sampled atmospheric data must also be downloaded. At the moment, these are hosted online by Jason
Optionally install EXOSIMS (if you want to simulate exoplanet populations), PICASO (if you want to generate exoplanet spectra on the fly), and pyVO (if you want to pull the latest NASA exoplanet archive planet tables) following the documentation for the respective packages. Installation can also be achieved through cloning the github repositories.
We currently support pickles and Castelli-Kurucz stellar models through the pysynphot package. In order to use them you need to install pysynphot and download those stellar spectra.
If you want to simulate high resolution spectra (e.g. for HISPEC, MODHIS, etc.) you also need to install the speclite and PyAstronomy packages. We currently support high-resolution grids of Phoenix and Sonora models. Download these files into the same directory, e.g. /scr3/dmawet/ETC/, and make sure paths are as follows.
The full Phoenix HiRes Library can be downloaded through FTP here: (ftp://phoenix.astro.physik.uni-goettingen.de/HiResFITS/). Specific Phoenix models can be installed here if desired. Download Phoenix items into /scr3/dmawet/ETC/ + HIResFITS_lib/phoenix.astro.physik.uni-goettingen.de/HiResFITS/PHOENIX-ACES-AGSS-COND-2011/.
Your directory should read: /scr3/dmawet/ETC/HIResFITS_lib/phoenix.astro.physik.uni-goettingen.de/HiResFITS/PHOENIX-ACES-AGSS-COND-2011/host_model/host_filename
Sonora files should be unzipped into /scr3/dmawet/ETC/Sonora. Your directory should read: /scr3/dmawet/ETC/Sonora/file_name.