Skip to main content

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.

Release files for nemesispy 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nemesispy 0.0.10
File Size Uploaded
nemesispy-0.0.10.tar.gz 9.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nemesispy 0.0.10
File Interpreter ABI Platform
nemesispy-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 MB

Release files / nemesispy-0.0.10.tar.gz

Download URL nemesispy-0.0.10.tar.gz
Size 9.2 MB
Tags Source
SHA-256 checksum
How to use checksums
c2158db460c35e495567dc421f0e4fb74394e6c21667c4e1c87427c0c2a7f554
BLAKE2b-256 checksum
How to use checksums
0588b00b708e02de4053cd322a96809e33b665cde4e131c21d1d98efa251c6b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.13

Release files / nemesispy-0.0.10-py3-none-any.whl

Download URL nemesispy-0.0.10-py3-none-any.whl
Size 11.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
655d7e141549931e5f984a57d13ee4db54d69f6e40d6ad36c724606bbfd1da76
BLAKE2b-256 checksum
How to use checksums
19fd7f9a0a3727151f8bb48fb7fe87a4d83d644ef2cce41cf6337b303f2beddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page