Lightkurve

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

Quickstart →

Time domain astronomy made easy for all

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, reduce costs, and improve scientific fidelity by providing accessible Python tools 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()