Lightkurve

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

Quickstart →

Time domain astronomy made easy

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

Lightkurve aims to lower barriers, promote best practices, and reduce costs by providing high-quality API's and tutorials accessible to everyone.

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()