Skip to main content

Easy and robust exoplanet transmission spectroscopy.

Project description

EasyTS: Transmission Spectroscopy Made Easy

Docs Python package Contributor Covenant Licence PyPI version

EasyTS is a user-friendly Python package designed to simplify and accelerate the analysis of transmission spectroscopy data for exoplanets. The package can estimate a self-consistent medium-resolution transmission spectrum with uncertainties from JWST NIRISS data in a matter of minutes, even when using a Gaussian Process-based noise model.

Documentation

Read the docs at easyts.readthedocs.io.

Key Features

  • Fast modeling of spectroscopic transit time series: EasyTS uses PyTransit's advanced TSModel transit model that is specially tailored for fast and efficient modeling of spectroscopic transit (or eclipse) time series.
  • Flexible handling of limb darkening: The stellar limb darkening can be modelled freely either by any of the standard limb darkening laws (quadratic, power-2, non-linear, etc.), by numerical stellar intensity profiles obtained directly from stellar atmosphere models, or by an arbitrary ser-defined radially symmetric function.
  • Handling of Correlated noise: The noise model can be chosen between white or time-correlated noise, where the time-correlated noise is modelled as a Gaussian process.
  • Model saving and loading: Seamless model saving and loading allows one to create a high-resolution analysis starting from a saved low-resolution analysis.
  • Full control of resolution: EasyTS represents the transmission spectrum as a cubic spline, with full flexibility to set and modify the number and placement of spline knots, allowing variable resolution throughout the analysis.

Details

EasyTS uses PyTransit's TSModel, a transit model that is specially optimised for transmission spectroscopy and allows for simultaneous modelling of hundreds to thousands of spectroscopic light curves 20-30 times faster than when using standard transit models not specifically designed for transmission spectroscopy.

A full posterior solution for a low-resolution transmission spectrum with a data resolution of R=100 takes 3-5 minutes to estimate assuming white noise, or 5-15 minutes if using a Gaussian process-based likelihood model powered by the celerite2 package. A high-resolution spectrum of the JWST NIRISS WASP-39 b observations by Feinstein et al. (2023) with ~3800 spectroscopic light curves (as shown below) takes about 1.5 hours to optimise and sample on a three-year-old AMD Ryzen 7 5800X with 8 cores.


© 2024 Hannu Parviainen

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

easyts-0.9.6.tar.gz (40.9 kB view details)

Uploaded Source

Built Distribution

EasyTS-0.9.6-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file easyts-0.9.6.tar.gz.

File metadata

  • Download URL: easyts-0.9.6.tar.gz
  • Upload date:
  • Size: 40.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for easyts-0.9.6.tar.gz
Algorithm Hash digest
SHA256 b89d3e07fb4a9a5919ea0f6b0d34fc2e97b76a5f42fb17aa7c5dd1adbe74e04c
MD5 0f475d3f3462404959e196dcad3b8bf6
BLAKE2b-256 8aa37ad9865265868bdb7705179ce1493355f9544568a166f9fde98459dbaac9

See more details on using hashes here.

File details

Details for the file EasyTS-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: EasyTS-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for EasyTS-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0e9f456f3dbba3c460203e68ccbea79b4235a1ed04b97f63d550c8e37b9d92e3
MD5 4738403869aa7e5f676520ee89b43066
BLAKE2b-256 b1f91e5f969a57f22f36f7a74e82118df0facc2521a8e6ca02701bae12b49ad0

See more details on using hashes here.

Supported by

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