Package for Multiple exoplanet system modelling
Project description
ExoplanetPy
ExoplanetPy is a python package for modelling the transit light curves of systems with multiple exoplanets orbiting around their host stars.
To obtain transit curves, simply set up the Keplerian orbital elements for each planet in the system.
The Planet()
class handles each planet's orbital elements, and the System()
class can be used to plot the final transit curves.
The following orbital elements are set up:
Variable | Element |
---|---|
e | eccentricity |
a | semi-major axis |
omega | argument of periapsis (ω) |
Omega | longitude of ascending node (Ω) |
i | orbital inclination |
r_p | planet:star radius |
Each Planet()
can have different initial true anomaly (ν) values, varied by the first_periastron
time argument.
Usage
Modules can be accessed using the following imports.
from ExoplanetPy import Planet
from ExoplanetPy import System
Define a single Planet()
and input as planet_list
arguments in System()
.
Limb darkening models are chosen in the plot()
method.
p1 = Planet(e=0.0, a=8, omega=0, Omega=0, i=89.9, r_p=0.1, first_periastron=0.0)
sys = System(star_prop={'Mass': 4}, planet_list=[p1], sort=True)
sys.plot(model='Quadratic', normalise=True)
Additional Planet()
objects are inputted as planet_list
argument in System()
.
p1 = Planet(e=0.0, a=8, omega=0, Omega=0, i=89.9, r_p=0.1, first_periastron=0.0)
p2 = Planet(e=0.0, a=2, omega=0, Omega=0, i=89.9, r_p=0.05, first_periastron=0.0)
sys = System(star_prop={'Mass': 4}, planet_list=[p1,p2], sort=True)
sys.plot(model='Quadratic', normalise=True)
Dependencies
ExoplanetPy has the following dependencies:
- NumPy
- SciPy
- Matplotlib (produce plots)
- Seaborn (stylize plots)
License
MIT License
© 2020 ExoplanetPy
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
Built Distribution
Hashes for ExoplanetPy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5c65a62c17930279f4d2de0f032496c6ced72abe357a58590dc1f220e48ddd |
|
MD5 | 01d584704d985e8fc9bdfb163090bb40 |
|
BLAKE2b-256 | d74ca6c61568f590b47c70aa254ab42fe17a2ad4956e7ee8331b7e6986e9c16e |