dsigma is an easy-to-use Python package for measuring gravitational galaxy-galaxy lensing. Using a lensing catalog, it estimates excess surface density around a population of lenses, such as galaxies in the Sloan Digital Sky Survey or the Baryon Oscillation Spectroscopic Survey. It has a flexible API and can utilize data from, DECADE, the Dark Energy Survey (DES), the Kilo-Degree Survey (KiDS), and the Hyper Suprime-Cam (HSC) lensing surveys, among others. With core computations written in C, dsigma is very fast. Additionally, dsigma provides out-of-the-box support for estimating covariances with jackknife resampling and calculating various summary statistics.
Authors
- Johannes Lange
- Song Huang
Installation
The easiest way to install dsigma is to use pip for the latest stable version from the Python Package Index (PyPI).
pip install dsigma
Alternatively, you can install the latest development version from GitHub.
pip install git+https://github.com/johannesulf/dsigma
Documentation
Documentation for dsigma with concept introductions, examples, and API documentation is available on readthedocs.
Attribution
dsigma is listed in the Astronomy Source Code Library. If you find the code useful in your research, please cite Lange & Huang (2022).
License
dsigma is licensed under the MIT License.
Generative AI
Generative AI was used to search for potential bugs in the code and to improve the documentation by finding typos and suggesting minor rewrites. The core developers did not use AI to write any part of the dsigma code itself. Code contributions from other developers may use AI, as described in the respective pull requests, and are carefully vetted by the core developers.
Metadata
Release files for dsigma 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsigma-1.2.2.tar.gz | 31.8 kB | Details |
Release files / dsigma-1.2.2.tar.gz
| Download URL | dsigma-1.2.2.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
006eee7433d6d7bddd4c3f5b09cdb59bae88447e0f72e8cc8e0612ae472fdc0d
|
|
BLAKE2b-256 checksum How to use checksums |
14a6568cb33b68545ac552126042302fd3f25996a739f5ebff4776bcd5ff6017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|