Package: lenstronomy
lenstronomyis a multi-purpose software package to model strong gravitational lenses.lenstronomyfinds 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 foundat this link.The development is coordinated onGitHuband contributions are welcome.
The documentation oflenstronomyis available atreadthedocs.organd
the package is distributed throughPyPIandconda-forge.lenstronomyis anaffiliated packageofastropy.Installationlenstronomy releases are distributed throughPyPIandconda-forge. Instructions for
installing lenstronomy and its dependencies can be found in theInstallationsection of the documentation.
Specific instructions for settings and installation requirements for special cases that can provide speed-ups,
we also refer to theInstallationpage.Getting startedThestarting guide jupyter notebookleads through the main modules and design features oflenstronomy. The modular design oflenstronomyallows 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 themini lecture seriesgiving an introduction to gravitational lensing
with interactive Jupyter notebooks in the cloud.Example notebooksWe have made an extension module available athttps://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.Affiliated packagesMultiple affiliated packages that make use of lenstronomy can be foundhere(not complete) and further packages are under development by the community.Mailing list and Slack channelYou can join thelenstronomymailing list by signing up on thegoogle 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.We also have aSlack channelfor the community.
Please send us anemailsuch that we can add you to the channel.If you encounter errors or problems withlenstronomy, please let us know!ContributionWe welcome EVERY contribution from EVERYONE! See ourcode of conduct.Check out thecontributing pageand become an author oflenstronomy! A big shout-out to the currentlist of contributors and developers!AttributionThe design concept oflenstronomyis reported byBirrer & Amara 2018and is based onBirrer et al 2015.
The current JOSS software publication is presented byBirrer et al. 2021.
Please citeBirrer & Amara 2018andBirrer et al. 2021when you use lenstronomy in a publication and link tohttps://github.com/lenstronomy/lenstronomy.
Please also citeBirrer et al 2015when you make use of thelenstronomywork-flow or the Shapelet source reconstruction and make sure to cite also
the relevant work that was implemented inlenstronomy, as described in the release paper and the documentation.
Don’t hesitate to reach out to the developers if you have questions!