Skip to main content

Flare science in Kepler, K2 and TESS light curves

Project description

ci-badge Documentation Status GitHub Requirements Status

Logo credit: Elizaveta Ilin, 2018


De-trend light curves from Kepler, K2, and TESS missions, and search them for flares. Inject and recover synthetic flares to account for de-trending and noise loss in flare energy and determine energy-dependent recovery probability for every flare candidate. Uses the K2SC and lightkurve under the cover, as well as pandas, numpy, pytest, astropy and more.

Find the documentation at


Install from the repository:

>>> git clone
>>> cd AltaiPony
>>> python install

Getting Started

See this notebook for an easy introduction, also docs.

How to cite this work

If you end up using this package for your science, please cite Ilin et al. (2020) [a] and Davenport (2016) [b].

Please also cite lightkurve as indicated in their docs [1].

Depending on the methods you use, you may also want to cite

  • Maschberger and Kroupa (2009) [2] (MMLE power law fit)

  • Wheatland (2004) [3] (MCMC power law fit)

  • Aigrain et al. (2016) [4] and their softwar [5] (K2SC de-trending)


Ekaterina Ilin, Sarah J. Schmidt, Katja Poppenhäger, James R. A. Davenport, Martti H. Kristiansen, Mark Omohundro (2020). “Flares in Open Clusters with K2. II. Pleiades, Hyades, Praesepe, Ruprecht 147, and M67”


James R. A. Davenport “The Kepler Catalog of Stellar Flares” The Astrophysical Journal, Volume 829, Issue 1, article id. 23, 12 pp. (2016).

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

altaipony-1.0.0.tar.gz (63.2 kB view hashes)

Uploaded source

Built Distribution

altaipony-1.0.0-py3-none-any.whl (75.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page