LensFactory.jl: A general-purpose strong lens modeling package
Abstract
We present LensFactory.jl, an efficient, open-source, general-purpose strong lens modeling package written in Julia. It supports single- and multi-plane lensing with a wide range of analytic lens profiles, and its modular design, built on Julia's multiple dispatch, makes it straightforward to add new profiles or inference methods, while native multi-threading parallelizes the computationally expensive steps, enabling full cluster-scale lens reconstructions within hours on a desktop-class machine. We validate the mass-reconstruction pipeline of LensFactory.jl on two simulated galaxy clusters (Ares and Hera), recovering the convergence and magnification maps well where the lensing constraints lie, and on the JWST-observed cluster SMACS J0723.3-7327, obtaining a strong lens model (image-plane RMS of 0.46'') consistent with previously published results. In addition, we introduce singularity maps as a complementary diagnostic for comparing lens models, probing differences in the higher-order derivatives of the lensing potential, which remain largely unconstrained by standard observables such as image positions, time delays, and flux ratios. LensFactory.jl is accompanied by a set of worked examples covering all core functionality.
Versions
Related
- General-purpose equations of state for hadron-quark matter: first application to accretion-induced phase transitions in neutron stars
- A Strong Cosmologically Coupled Mass Growth Solution in Linearized General Relativity
- Quasiparticle Modeling of Strange Quark Stars with In-Medium QCD Effects at Finite Temperature and Strong Magnetic Fields
- Lens Modeling and Cosmological Inference from an Impure Sample of Galaxy-Galaxy Strong Lenses
- Lens Modeling and Cosmological Inference from an Impure Sample of Galaxy-Galaxy Strong Lenses
BibTeX
@misc{meena2026lensfactoryjl,
title = {{$\textttLensFactory.jl$: A general-purpose strong lens modeling package}},
author = {Ashish Kumar Meena},
howpublished = {arXiv},
year = {2026},
month = sep,
doi = {10.48550/arxiv.2609.08649},
eprint = {2609.08649},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.08649},
}
RIS
TY - UNPB
TI - LensFactory.jl: A general-purpose strong lens modeling package
AU - Ashish Kumar Meena
PY - 2026
DA - 2026/09/09
PB - arXiv
DO - 10.48550/arxiv.2609.08649
UR - https://arxiv.org/abs/2609.08649
AB - We present LensFactory.jl, an efficient, open-source, general-purpose strong lens modeling package written in Julia. It supports single- and multi-plane lensing with a wide range of analytic lens profiles, and its modular design, built on Julia's multiple dispatch, makes it straightforward to add new profiles or inference methods, while native multi-threading parallelizes the computationally expensive steps, enabling full cluster-scale lens reconstructions within hours on a desktop-class machine. We validate the mass-reconstruction pipeline of LensFactory.jl on two simulated galaxy clusters (Ares and Hera), recovering the convergence and magnification maps well where the lensing constraints lie, and on the JWST-observed cluster SMACS J0723.3-7327, obtaining a strong lens model (image-plane RMS of 0.46'') consistent with previously published results. In addition, we introduce singularity maps as a complementary diagnostic for comparing lens models, probing differences in the higher-order derivatives of the lensing potential, which remain largely unconstrained by standard observables such as image positions, time delays, and flux ratios. LensFactory.jl is accompanied by a set of worked examples covering all core functionality.
ER -