Cosmological summary statistics from galaxy catalogues and lensing data
Project description
sum_stat
Python package for measuring cosmological summary statistics from galaxy catalogues and lensing data.
Stable estimators
- Stellar mass function
- Angular correlation function
- Projected correlation function
- Excess surface density (galaxy-galaxy lensing)
Installation
pip install sum-stat
See pypi.org/project/sum-stat for details.
Citation
If you use sum_stat in your research, please cite it as:
@software{comparat2026sumstat,
author = {Comparat, Johan},
title = {{sum\_stat}: Cosmological summary statistics from galaxy catalogues and lensing data},
year = {2026},
version = {0.2.0},
url = {https://github.com/JohanComparat/sum_stat},
license = {MIT},
}
A CITATION.cff file is also provided for automated citation tools (GitHub "Cite this repository" button).
Contributing
Contributions are welcome! Please read CONTRIBUTING.md for development setup, coding conventions, and how to submit a pull request.
License
MIT — see LICENSE.
Package structure
sum_stat/
├── sum_stat/
│ ├── catalogue.py # GalaxyCatalogue, ShapeCatalogue, PhotoZCalibTable
│ ├── cosmology.py # JAX-differentiable distances and Σ_crit
│ ├── covariance/ # jackknife_covariance, bootstrap_covariance
│ ├── io/ # SummaryStatWriter, SummaryStatReader
│ ├── lensing/ # delta_sigma
│ ├── lf_smf/ # 1/Vmax, SWML, C⁻, EP τ, Rauzy
│ ├── nz/ # nz_histogram, nz_kde
│ ├── powspec/ # cl_angular, pk3d, pk_multipoles [development]
│ └── twopcf/ # w_theta, wp, xi_r, xi_multipoles
├── tests/
├── docs/
├── environment.yml
└── pyproject.toml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sum_stat-0.2.0.tar.gz.
File metadata
- Download URL: sum_stat-0.2.0.tar.gz
- Upload date:
- Size: 83.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f826ff5be094d6642f2a954a22944a8bd1db3e39760da3624e57f04e126926
|
|
| MD5 |
e0cce918175a8787933cef6b5974047c
|
|
| BLAKE2b-256 |
38e6b61eeb1360d60b5603047f555e252659d53c343872f8d2111fa244629dac
|
Provenance
The following attestation bundles were made for sum_stat-0.2.0.tar.gz:
Publisher:
release.yml on JohanComparat/sum_stat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sum_stat-0.2.0.tar.gz -
Subject digest:
99f826ff5be094d6642f2a954a22944a8bd1db3e39760da3624e57f04e126926 - Sigstore transparency entry: 1549196688
- Sigstore integration time:
-
Permalink:
JohanComparat/sum_stat@9ff4eb829fc9480ff26a7cfe1ee15451919330ef -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JohanComparat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ff4eb829fc9480ff26a7cfe1ee15451919330ef -
Trigger Event:
push
-
Statement type:
File details
Details for the file sum_stat-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sum_stat-0.2.0-py3-none-any.whl
- Upload date:
- Size: 71.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b27244ceaa0a39632d31c281dacc3c6aeaaf4be7fd354221aa2531c4104775f2
|
|
| MD5 |
12b3eb1663cd8ab28958f1efe37530ea
|
|
| BLAKE2b-256 |
297be9202f45a13a8e0906f32ee5829d8c72b12e6509519b89c6472a14d83871
|
Provenance
The following attestation bundles were made for sum_stat-0.2.0-py3-none-any.whl:
Publisher:
release.yml on JohanComparat/sum_stat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sum_stat-0.2.0-py3-none-any.whl -
Subject digest:
b27244ceaa0a39632d31c281dacc3c6aeaaf4be7fd354221aa2531c4104775f2 - Sigstore transparency entry: 1549196715
- Sigstore integration time:
-
Permalink:
JohanComparat/sum_stat@9ff4eb829fc9480ff26a7cfe1ee15451919330ef -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JohanComparat
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9ff4eb829fc9480ff26a7cfe1ee15451919330ef -
Trigger Event:
push
-
Statement type: