Shear Mapping in Python (SMPy): Modular, Extensible, and Accessible Dark Matter Mapping
arXiv:2611.00225 · doi:10.21105/joss.10928
Abstract
Understanding the Universe's large-scale distribution of dark matter is a central objective in the era of precision cosmology. A key technique for the study of dark matter is weak gravitational lensing: a phenomenon where light from distant galaxies is sheared as it passes through the gravitational field of a massive object, like a galaxy cluster. This shear, which manifests as a slight (weak) distortion of shapes over thousands of galaxies, allows astrophysicists to infer the distribution of total matter, including both luminous and dark matter. Obtaining a mass distribution from a catalog of galaxy shears involves reconstructing the convergence (), the projected surface mass density divided by the critical surface density for the lens-source system. The Shear Mapping in Python (SMPy) package provides a standardized, well-documented, and open-source solution for creating convergence maps from weak lensing galaxy shear measurements. SMPy implements three mapping methods: the classic Kaiser-Squires inversion, aperture mass mapping, and, to our knowledge, the first publicly available implementation of the full KS+ algorithm, which corrects for missing data, field borders, and reduced shear. SMPy was initially developed to support the Superpressure Balloon-borne Imaging Telescope (SuperBIT) and has since evolved into a general-purpose tool suitable for analyzing the weak lensing data from cosmological surveys.
arXiv comment7 pages, 2 figures. Published in the Journal of Open Source Software. Code: https://github.com/GeorgeVassilakis/SMPy ; documentation: https://smpy-docs.readthedocs.io
References in corpus (16)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- Array Programming with NumPy
- Astropy: A Community Python Package for Astronomy
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package
- The Atacama Cosmology Telescope: DR6 Gravitational Lensing Map and Cosmological Parameters
- Cluster-galaxy weak lensing
- Dark Energy Survey Year 3 results: curved-sky weak lensing mass map reconstruction
- Two- and three-dimensional wide-field weak lensing mass maps from the Hyper Suprime-Cam Subaru Strategic Program S16A data
- Probabilistic Mass Mapping with Neural Score Estimation
- Euclid: Reconstruction of Weak Lensing mass maps for non-Gaussianity studies
- Fast Calculation of the Weak Lensing Aperture Mass Statistic
- Data downloaded via parachute from a NASA super-pressure balloon
- Dark Matter Distribution of Four Low-z Clusters of Galaxies
- SuperBIT Superpressure Flight Instrument Overview and Performance: Near diffraction-limited Astronomical Imaging from the Stratosphere
- Lensing in the Blue III: Weak Lensing Shape Catalogs of 30 Merging Galaxy Clusters