Skip to main content

An optimized transit-fitting algorithm to search for periodic transits of small planets

Project description

Logo

An optimized transit-fitting algorithm to search for periodic transits of small planets

Image Image

Motivation

We present a new method to detect planetary transits from time-series photometry, the Transit Least Squares (TLS) algorithm. While the commonly used Box Least Squares (BLS, Kovács et al. 2002) algorithm searches for rectangular signals in stellar light curves, TLS searches for transit-like features with stellar limb-darkening and including the effects of planetary ingress and egress. Moreover, TLS analyses the entire, unbinned data of the phase-folded light curve. These improvements yield a ~10 % higher detection efficiency (and similar false alarm rates) compared to BLS. The higher detection efficiency of our freely available Python implementation comes at the cost of higher computational load, which we partly compensate by applying an optimized period sampling and transit duration sampling, constrained to the physically plausible range. A typical Kepler K2 light curve, worth of 90 d of observations at a cadence of 30 min, can be searched with TLS in 10 seconds real time on a standard laptop computer, just as with BLS.

image

Tutorials

Open the iPython tutorials for a quick introduction.

Documentation

Open the complete documentation.

Installation

The stable version can be installed via pip: pip install tls-package

Dependencies: Python 3, SciPy, NumPy, numba, batman, tqdm, argparse

The current development version can be installed from this repository:

git clone https://github.com/hippke/tls.git
cd tls
python3 setup.py install

Attribution

Please cite Hippke & Heller (2019) if you find this code useful in your research. The BibTeX entry for the paper is:

@article{abc,
   author = {},
    title = {},
  journal = {},
     year = 2019,
   volume = ,
    pages = {},
   eprint = {},
      doi = {}
}

Contributing Code, Bugfixes, or Feedback

We welcome and encourage contributions.

Copyright 2018 Michael Hippke & René Heller.

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

transitleastsquares-1.0.3.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

transitleastsquares-1.0.3-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file transitleastsquares-1.0.3.tar.gz.

File metadata

  • Download URL: transitleastsquares-1.0.3.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for transitleastsquares-1.0.3.tar.gz
Algorithm Hash digest
SHA256 9faa268efd71c85b3b74367d5d627d30985c3c8b1bc7a81179fc42c32fda4cf0
MD5 83bd6b1076506acdf68fd2ea2f4104c2
BLAKE2b-256 138607569a4962b85a3bcc4b662f8ec9ba1013035576cd15425b2124fe1ec3fd

See more details on using hashes here.

File details

Details for the file transitleastsquares-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: transitleastsquares-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for transitleastsquares-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 73f1c6f01468044184dd485739934d086ec769ebe9635c066ed50f5688c9177a
MD5 95fa5f78940b8f57d8e743a14620ffb5
BLAKE2b-256 0c5f69d7ea4cfd07d9ea1478f3d83048d4c60e7729fa40d7810a8fc52f33c51e

See more details on using hashes here.

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