Lightkurve

A friendly package for Kepler & TESS time series analysis in Python.

Quickstart →


Building blocks for time series photometry

Lightkurve offers a user-friendly way to analyze time series data obtained by telescopes, in particular NASA’s Kepler and TESS exoplanet missions.

It intends to lowers the barrier for anyone to analyze NASA data by providing a well-tested, well-documented, and fluent API and tutorials.

import lightkurve as lk

pixels = lk.search_targetpixelfile("Kepler-10").download()
pixels.plot()

lightcurve = pixels.to_lightcurve()
lightcurve.plot()

exoplanet = lightcurve.flatten().fold(period=0.838)
exoplanet.plot()

Created with ♥ by the Lightkurve collaboration. Please cite us or join us on GitHub.