Skip to main content

logo

Unit Testing Status Documentation Status Code Coverage Downloads Python Version from PEP 621 TOML PyPI - Version License: MIT DOI

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.

plot

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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dsigma 1.2.3
File Size Uploaded
dsigma-1.2.3.tar.gz 31.8 kB Details

Release files / dsigma-1.2.3.tar.gz

Download URL dsigma-1.2.3.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ba032d70ab855da401d691d78345b183e9cb9edaf6787534d218ded6cc673e0a
BLAKE2b-256 checksum
How to use checksums
e06a1f0c43887f7679cf300b1e3f236ac3a988a5ff54bab8901edb750729a0d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.8

Release history Release notifications | RSS feed

This release

1.2.3 This release

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page