Skip to content

nunorc/exotx

Repository files navigation

Exoplanets Transit Explorer

Warning

This package is experimental, and under development.

An experimental package for quickly exploring exoplanets transits and associated resources.

Quick Start

Installation

Install package from the git repository:

$ pip install git+https://github.com/nunorc/exotx@master

Using light curves

Retrieve and process some light curves.

import exotx

# define the arguments for the object of interest
args = exotx.Args(target='kepler-210', quarters=[1, 2], cadence='long', pdc=True)

# retrieve the associated light curves
lcs = exotx.retrieve(args)

# detrend and normalize all light curves
lcs = [exotx.detrend(i) for i in lcs]
lcs = [exotx.normalize(i) for i in lcs]

# combine into a single light curve
lc = exotx.combine(lcs)

# plot the final result
exotx.plot_lc(lc)

Yielding the following plot.

https://nunorc.github.io/exotx/html/_static/lc_plot_1.png

Folding Light Curves

Folding a light curve:

# define parameteres for a known planet
params = exotx.Params(p=2.4532, t0=134.092)

# create a list of folds
folds = exotx.fold(lc, params)

# plot the folded light curve
exotx.plot_folds(folds)

Yielding the following plot.

https://nunorc.github.io/exotx/html/_static/lc_plot_2.png

Acknowledgments

Thank you to the authors of the lightkurve, batman-package , emcee , and upstream packages.

Thank you to Susana Barros and Olivier Demangeon for the discussions that helped improve this package.

About

exoplanets transit explorer Python package

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages