Skip to main content

A Galaxy-Galaxy Lensing Python Package

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dsigma-1.2.1.tar.gz (31.5 kB view details)

Uploaded Source

File details

Details for the file dsigma-1.2.1.tar.gz.

File metadata

  • Download URL: dsigma-1.2.1.tar.gz
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for dsigma-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e1eb0ab3b6cf3f99a90c1b6a06e0cd63fdfbf974729c1d95939ec24e79204996
MD5 9283e060c35d3c34836040dcd84bd989
BLAKE2b-256 110c9280d1eafc4db2f2456d9d03c0db897509c2263181883ee3ed4ae0df2f45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page