batman: BAsic Transit Model cAlculatioN in Python

Laura Kreidberg
7/29/2015
921 citations
astro-ph.EP

Official code: lkreidberg/batman (108 stars, TeX, GPL-3.0, last commit 2025-05-05).

Abstract

I introduce batman, a Python package for modeling exoplanet transit light curves. The batman package supports calculation of light curves for any radially symmetric stellar limb darkening law, using a new integration algorithm for models that cannot be quickly calculated analytically.

Show full abstract

The code uses C extension modules to speed up model calculation and is parallelized with OpenMP. For a typical light curve with 100 data points in transit, batman can calculate one million quadratic limb-darkened models in 30 seconds with a single 1.7 GHz Intel Core i5 processor. The same calculation takes seven minutes using the four-parameter nonlinear limb darkening model (computed to 1 ppm accuracy). Maximum truncation error for integrated models is an input parameter that can be set as low as 0.001 ppm, ensuring that the community is prepared for the precise transit light curves we anticipate measuring with upcoming facilities. The batman package is open source and publicly available at https://github.com/lkreidberg/batman .

View on arXivView PDF

Code Implementations(1)

lkreidberg/batmanOfficial100%
GPL-3.0

Fast transit light curves models in Python.

10865TeX, PythonMay 26, 20151 years agoGPL-3.0

Similar Papers

Cite this paper

@article{kreidberg2015batman,
  title  = {batman: BAsic Transit Model cAlculatioN in Python},
  author = {Laura Kreidberg},
  year   = {2015},
  eprint = {1507.08285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1507.08285}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1507.08285.svg)](https://codeofpaper.com/paper/1507.08285)

Discussion