English

MADLens, a python package for fast and differentiable non-Gaussian lensing simulations

Cosmology and Nongalactic Astrophysics 2020-12-18 v2

Abstract

We present MADLens a python package for producing non-Gaussian lensing convergence maps at arbitrary source redshifts with unprecedented precision. MADLens is designed to achieve high accuracy while keeping computational costs as low as possible. A MADLens simulation with only 2563256^3 particles produces convergence maps whose power agree with theoretical lensing power spectra up to L=10000L{=}10000 within the accuracy limits of HaloFit. This is made possible by a combination of a highly parallelizable particle-mesh algorithm, a sub-evolution scheme in the lensing projection, and a machine-learning inspired sharpening step. Further, MADLens is fully differentiable with respect to the initial conditions of the underlying particle-mesh simulations and a number of cosmological parameters. These properties allow MADLens to be used as a forward model in Bayesian inference algorithms that require optimization or derivative-aided sampling. Another use case for MADLens is the production of large, high resolution simulation sets as they are required for training novel deep-learning-based lensing analysis tools. We make the MADLens package publicly available under a Creative Commons License (https://github.com/VMBoehm/MADLens).

Keywords

Cite

@article{arxiv.2012.07266,
  title  = {MADLens, a python package for fast and differentiable non-Gaussian lensing simulations},
  author = {Vanessa Böhm and Yu Feng and Max E. Lee and Biwei Dai},
  journal= {arXiv preprint arXiv:2012.07266},
  year   = {2020}
}

Comments

10 pages, 15 figures. Update matches version submitted to journal. Acknowledgments added and typos fixed

R2 v1 2026-06-23T20:56:29.170Z