Lenstronomy: multi-purpose gravitational lens modelling software package

Simon Birrer, Adam Amara
3/26/2018
astro-ph.CO

Official code: sibirrer/lenstronomy (14 stars, BSD-3-Clause, last commit 2026-09-17).

Abstract

We present Lenstronomy, a multi-purpose open-source gravitational lens modeling python package. Lenstronomy is able to reconstruct the lens mass and surface brightness distributions of strong lensing systems using forward modelling. Lenstronomy supports a wide range of analytic lens and light models in arbitrary combination. The software is also able to reconstruct complex extended sources (Birrer et. al 2015) as well as being able to model point sources. We designed Lenstronomy to be stable, flexible and numerically accurate, with a clear user interface that could be deployed across different platforms. Throughout its development, we have actively used Lenstronomy to make several measurements including deriving constraints on dark matter properties in strong lenses, measuring the expansion history of the universe with time-delay cosmography, measuring cosmic shear with Einstein rings and decomposing quasar and host galaxy light. The software is distributed under the MIT license. The documentation, starter guide, example notebooks, source code and installation guidelines can be found at https://lenstronomy.readthedocs.io.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

multi-purpose lens modeling software package

141TeX, RubyAug 10, 20221 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{birrer2018lenstronomy,
  title  = {Lenstronomy: multi-purpose gravitational lens modelling software package},
  author = {Simon Birrer and Adam Amara},
  year   = {2018},
  eprint = {1803.09746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.09746}
}

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/1803.09746.svg)](https://codeofpaper.com/paper/1803.09746)

Discussion