Tools for modelling exoplanet spectra
Project description
This library contains routines for simulating and fitting
exoplanet emission spectra at arbitrary arbita orbital phase,
thereby constraining the thermal structure and chemical
abundance of exoplanet atmospheres. It is also capable
of fitting emission spectra at multiple orbital phases
(phase curves) at the same time. This package
comes ready with some spectral data and general circulation
model data so you could start simulating spectra
straight away. There are a few demonstration routines in
the nemesispy
folder; in particular the demo_fit_eclipse.py
contains an interactive plot routine which allows you to try
to fit a hot Jupiter eclipse spectrum by hand by varying
its chemical abundance and temperature profile. This package
can be easily integrated with a Bayesian sampler, in particular
MultiNest
for a full spectral retrieval.
The radiative transfer calculations are done with the
correlated-k approximation, and are accelerated with the
numba
just-in-time compiler to match the speed of
compiled languages such as Fortran. The radiative transfer
routines are based on the well-tested nemesis library developed
by Patrick Irwin (University of Oxford) and collaborators.
This package has the following advantageous features:
- Highly portable and customisable compared to packages written in compiled languages, and can be easily installed on computer clusters.
- Fast calculation speed compared due to just-in-time compilation, which compiles Python code to machine code at run time.
- Radiative transfer routines are benchmarked against the extensively used nemesis library.
- Contains interactive plotting routines that allows you to visualise the impact of gas abundance and thermal structure on the emission spectra.
- Contains routine to simulate spectra from General Circulation Models (GCMs).
- Contains unit tests so that you could check if the the code is working properly after your modifications.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nemesispy-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b80f64fb665ef7433e6c2b656f0aefa5db389e88213ce974017c441933153c9 |
|
MD5 | 26406b153984d098028c4e976d52b5cd |
|
BLAKE2b-256 | 1553ace986f4775b35c0817beb11e18f3eca5ccedb94d1a798020516e7bbe9f9 |