Skip to main content

Tools for modelling exoplanet spectra

Project description

This library contains routines for simulating and fitting exoplanet emission spectra at arbitrary 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 (GCM) )data so you could start simulating spectra straight away. There are a few demonstration routines in the nemesispy folder; in particular demo_fit_eclipse.py contains an interactive plot routine which allows you 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 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nemesispy-0.0.10.tar.gz (9.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nemesispy-0.0.10-py3-none-any.whl (11.0 MB view details)

Uploaded Python 3

File details

Details for the file nemesispy-0.0.10.tar.gz.

File metadata

  • Download URL: nemesispy-0.0.10.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.13

File hashes

Hashes for nemesispy-0.0.10.tar.gz
Algorithm Hash digest
SHA256 c2158db460c35e495567dc421f0e4fb74394e6c21667c4e1c87427c0c2a7f554
MD5 9425b7a98fb8e089030d183199a58e02
BLAKE2b-256 0588b00b708e02de4053cd322a96809e33b665cde4e131c21d1d98efa251c6b4

See more details on using hashes here.

File details

Details for the file nemesispy-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: nemesispy-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 11.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.13

File hashes

Hashes for nemesispy-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 655d7e141549931e5f984a57d13ee4db54d69f6e40d6ad36c724606bbfd1da76
MD5 030468acaf99450eaf92e0001ed8015f
BLAKE2b-256 19fd7f9a0a3727151f8bb48fb7fe87a4d83d644ef2cce41cf6337b303f2beddc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page