Skip to main content

Models for transiting exoplanets with rings

Project description

pyPplusS

pyPplusS is a code package accompanying the paper "Fast and precise light-curve model for transiting exoplanets with rings" (doi: 10.1093/mnras/stz2556, ads bibcode: 2019MNRAS.490.1111R). pyPplusS is a model for the light curve of ringed exoplanets transits’ for uniform and limb darkened stars. The calculation is done using the Polygon+Segments algorithm, described in the above paper.

pyPplusS provides calculation of light curves for ringed, oblate or spherical exoplanets in both the uniform and limb darkened cases.

Installation

Run the following to install pyPplusS: pip install pyppluss

Package Structure

The package is split into five files:

  • polygon_plus_segments is an implementation of the Polygon+Segments algorithm described in the above paper.
  • segment_models contains functions for modelling light curves in the uniform and limb darkened cases.
  • err_order_fin is a script described in appendix C, which aids in setting the order of numerical integration.
  • base_functions contains a variety of "low-level" helpers.
  • fastqs is a python implementation of the Fast Quartic Solver described by Strobach (2010).

Detailed descriptions of all inputs and outputs are given by comment lines and documentation text in the code.

Usage

To use pyPplusS, import the following function: from pyppluss.segment_models import LC_ringed

This function will return the light curve of ringed exoplanets transits’ for limb darkened stars.

Dependencies

Dependencies: numpy, scipy, python 3.

The package was tested with numpy 1.16.3, scipy 0.19.1, python 3.6.8.

Issues

Issues can be reported at GitHub, at the EdanRein/pyPplusS repository.

License

MIT

Acknowledgments

This package was written by Edan Rein and Dr. Aviv Ofir, during work at Prof. Oded Aharonson's lab at the Center for Planetary Science in the Department of Earth and Planetary Sciences, Weizmann Institute of Science.

Citations

If you use this code, please cite Rein and Ofir (2019). The abstract is available here, and the paper is available on arXiv here.

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

pyppluss-0.1.5.3.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

pyppluss-0.1.5.3-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file pyppluss-0.1.5.3.tar.gz.

File metadata

  • Download URL: pyppluss-0.1.5.3.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pyppluss-0.1.5.3.tar.gz
Algorithm Hash digest
SHA256 7ee41fbf872835023bf33a2b10e31a43fe9af19147231eaf2fb0a015a03ebc95
MD5 2fba0a9b7ac13e33b21a68939bb15eab
BLAKE2b-256 d7eb989aa7417d9d58d65c41ec9047fb75d99d7425a9dfad286c5cb1dcb2919f

See more details on using hashes here.

File details

Details for the file pyppluss-0.1.5.3-py3-none-any.whl.

File metadata

  • Download URL: pyppluss-0.1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for pyppluss-0.1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2dbe62336b14dec309d8d5ee00566f7d5ec7f359c19b2970d9d0f07f71de6d86
MD5 4ef91d99ed4821cdd61f5d2cb2a88416
BLAKE2b-256 a03fbd434d8243846fb06b735a23b06e3f9a2ba91dd877b136086f3366f81849

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