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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyppluss-0.1.4.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyppluss-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8911edd0e8773048dfa5104b8f1d2f6bcae7d129cf18ff1ed8e7321d89750840
MD5 04fa7ede66c65f0bdfdfdd8da8789305
BLAKE2b-256 06f83ad313f214da4450b0ffc7cdc3553e4b691c59c0342d71e9b03dc3a40844

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyppluss-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for pyppluss-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7ebf4fdc8b712ce0f91daba3d583c1d5dfb303ebc1e5a4c55f0c571239df6a18
MD5 d325faa797435941c0702e4b414ed6e2
BLAKE2b-256 52e3d319acb275d91b345e89518b11dbb74fdd323cfbf20fc336ab90a82d8457

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