Skip to content



Repository files navigation

Code for automated detection of comets in light curve files.


Requires Python 3 (tested in 3.5). Uses Numpy, Scipy, Astropy and Matplotlib libraries, and a working Cython install.

Install by running:

git clone
cd comet_project


These scripts runs on light curve files, which can be obtained from MAST. runs on a single file, for example:

./ kplr003542116-2012088054726_llc.fits runs on directories of files, outputting results to a text file with one row per file. is a bash script for processing compressed archives of light curve files, extracting them temporarily to a directory. Both these scripts have multiple options (number of threads, output file location ...), run with help flag (-h) for more details.

Output contains a description of the output table format produced by this code, as well as the output when run on the entire Kepler dataset. See there also for description of the format of the txt files with dips, and how to filter then with the awk scripts.

  • all_snr_gt_5.txt is the full list of 67,532 potential transits
  • all_snr_gt_5_ok.txt is the final list of 7,217 transits

Other files

  • The jupyer notebook figs.ipynb contains code to explore individual light curves, and makes most of the plots in the paper.
  • The text file artefact_list.txt contains a list of artefacts found among candidates.
  • dr2.xml and young-cl.xml contain votables of stars from Gaia used in the HR diagrams.


Automated exocomet hunting






No releases published


No packages published


  • Jupyter Notebook 99.4%
  • Other 0.6%