lenstronomy is a multi-purpose software package to model strong gravitational lenses.
lenstronomy finds application for time-delay cosmography and measuring
the expansion rate of the Universe, for quantifying lensing substructure to infer dark matter properties, morphological quantification of galaxies,
quasar-host galaxy decomposition and much more.
A (incomplete) list of publications making use of lenstronomy can be found at this link.
The development is coordinated on GitHub and contributions are welcome.
The documentation of
lenstronomy is available at readthedocs.org and
the package is distributed through PyPI and conda-forge.
lenstronomy is an affiliated package of astropy.
lenstronomy releases are distributed through PyPI and conda-forge. Instructions for installing lenstronomy and its dependencies can be found in the Installation section of the documentation. Specific instructions for settings and installation requirements for special cases that can provide speed-ups, we also refer to the Installation page.
The starting guide jupyter notebook
leads through the main modules and design features of
lenstronomy. The modular design of
lenstronomy allows the
user to directly access a lot of tools and each module can also be used as stand-alone packages.
If you are new to gravitational lensing, check out the mini lecture series giving an introduction to gravitational lensing with interactive Jupyter notebooks in the cloud.
We have made an extension module available at https://github.com/lenstronomy/lenstronomy-tutorials. You can find simple example notebooks for various cases. The latest versions of the notebooks should be compatible with the recent pip version of lenstronomy.
Multiple affiliated packages that make use of lenstronomy can be found here (not complete) and further packages are under development by the community.
Mailing list and Slack channel¶
You can join the
lenstronomy mailing list by signing up on the
google groups page.
The email list is meant to provide a communication platform between users and developers. You can ask questions, and suggest new features. New releases will be announced via this mailing list.
If you encounter errors or problems with
lenstronomy, please let us know!
We welcome EVERY contribution from EVERYONE! See our code of conduct.
The design concept of
lenstronomy is reported by Birrer & Amara 2018 and is based on Birrer et al 2015.
The current JOSS software publication is presented by Birrer et al. 2021.
Please cite Birrer & Amara 2018 and Birrer et al. 2021 when you use lenstronomy in a publication and link to https://github.com/lenstronomy/lenstronomy.
Please also cite Birrer et al 2015
when you make use of the
lenstronomy work-flow or the Shapelet source reconstruction and make sure to cite also
the relevant work that was implemented in
lenstronomy, as described in the release paper and the documentation.
Don’t hesitate to reach out to the developers if you have questions!
- Contributing to lenstronomy
- Mailing list and Slack channel
- Published work with lenstronomy
- Scientific publication before 09/2022
- Affiliated packages
- lenstronomy package
- 0.0.1 (2018-01-09)
- 0.0.2 (2018-01-16)
- 0.0.6 (2018-01-29)
- 0.1.0 (2018-02-25)
- 0.1.1 (2018-03-05)
- 0.2.0 (2018-03-10)
- 0.2.1 (2018-03-19)
- 0.2.2 (2018-03-25)
- 0.2.8 (2018-05-31)
- 0.3.1 (2018-07-21)
- 0.3.3 (2018-08-21)
- 0.4.1-3 (2018-11-27)
- 0.5.0 (2019-1-30)
- 0.6.0 (2019-2-26)
- 0.7.0 (2019-4-13)
- 0.8.0 (2019-5-23)
- 0.8.1 (2019-5-23)
- 0.8.2 (2019-5-27)
- 0.9.0 (2019-7-06)
- 0.9.1 (2019-7-21)
- 0.9.2 (2019-8-29)
- 0.9.3 (2019-9-25)
- 1.0.0 (2019-9-25)
- 1.0.1 (2019-10-01)
- 1.1.0 (2019-11-5)
- 1.2.0 (2019-11-17)
- 1.2.4 (2020-01-02)
- 1.3.0 (2020-01-10)
- 1.4.0 (2020-03-26)
- 1.5.0 (2020-04-05)
- 1.5.1 (2020-06-20)
- 1.6.0 (2020-09-07)
- 1.7.0 (2020-12-16)
- 1.8.0 (2021-03-21)
- 1.8.1 (2021-04-19)
- 1.8.2 (2021-06-08)
- 1.9.0 (2021-07-15)
- 1.9.1 (2021-08-27)
- 1.9.2 (2021-12-12)
- 1.9.3 (2021-12-22)
- 1.10.0 (2022-03-23)
- 1.10.1 (2022-03-26)
- 1.10.2 (2022-03-27)
- 1.10.3 (2022-04-18)
- 1.10.4 (2022-07-25)
- 1.11.0 (2022-09-26)
- 1.11.1 (2023-03-07)
- 1.11.2 (2023-05-30)
- 1.11.3 (2023-09-04)
- 1.11.4 (2023-09-27)
- 1.11.5 (2023-09-28)