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.2.tar.gz (24.3 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.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyppluss-0.1.5.2.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pyppluss-0.1.5.2.tar.gz
Algorithm Hash digest
SHA256 8f7d8c901f1e54dc46dbcc0cf052979c346c3d3a30260e824868194a9fc3216a
MD5 b6d0beb10a1df3b6119e9ab27438a227
BLAKE2b-256 af474018ff0f8aa4e78780c16e561a655b27440fc9d70c0fd287e1f57f2211f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyppluss-0.1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pyppluss-0.1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 868da755f479aced75359e3f0e5ba7f4ed9e4504d6c1afe6c1ce425c997f0827
MD5 50bc2c4da772e3c27fa329ab1c36885d
BLAKE2b-256 f0a828be746d94f0b8c58300822b6d19f18fdb4a7a890ecac389b8d35373acaa

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