TheHaloMod: An online calculator for the halo model
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
The halo model is a successful framework for describing the distribution of matter in the Universe -- from weak lensing observables to galaxy 2-point correlation functions. We review the basic formulation of the halo model and several of its components in the context of galaxy two-point statistics, developing a coherent framework for its application. We use this framework to motivate the presentation of a new Python tool for simple and efficient calculation of halo model quantities, and their extension to galaxy statistics via a \textit{halo occupation distribution}, called \halomod. This tool is efficient, simple to use, comprehensive and importantly provides a great deal of flexibility in terms of custom extensions. This Python tool is complemented by a new web-application at https://thehalomod.app that supports the generation of many halo model quantities directly from the browser -- useful for educators, students, theorists and observers.
Results and benchmarks
The halo model is a successful framework for describing the distribution of matter in the Universe -- from weak lensing observables to galaxy 2-point correlation functions.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 55/100, grounding 75/100, status medium.
Implementation
Best maintained implementation now
Python halo mass function calculator
75 stars · 36 forks · Last push Aug 17, 2026 · NOASSERTION license
- License
- CI
- Dependencies
- Docker
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Strong overlap with paper title keywords
halomod/hmf is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (NOASSERTION).
Open halomod/hmf- No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
- Selected halomod/hmf as the strongest maintained implementation for new work.
- Includes CI workflow signals.
- Includes dependency/environment manifest signals.
- Repository activity is within the last 24 months.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Active
- Confidence
- High
- Reproducibility
- Strong
- Stars
- 75
- Last push
- Aug 17, 2026 (7d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No Docker setup
- Maintenance
- Active
- Confidence
- High
- Reproducibility
- Strong
- Stars
- 35
- Last push
- Aug 17, 2026 (7d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No Docker setup
- Maintenance
- Recently updated
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 4
- Last push
- Jul 11, 2026 (44d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No tagged releases
- No Docker setup
- Dependency manifest missing
Reproduction readiness
Ready to run
Ready to reproduce
- Clone halomod/hmf and install dependencies from pyproject.toml.
- CI pipeline detected, so automated tests are in place.
- Last updated 7 days ago.
Quick start
git clone https://github.com/halomod/hmf.git
pip install -e . Validation caveat
Repositories and ecosystem
Official
- halomod/thehalomod-spaConfidence: High
Single-page app for TheHaloMod
4 stars · 0 forks · Last push Jul 11, 2026 · MIT license
Community
No additional community repositories detected yet.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Models
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
46
Citations
156
References
Tasks
Halo, Computer science, Python (programming language), Calculator, Galaxy, Halo effect, Weak gravitational lensing, Cosmology
Methods
None detected
Domains
Astrophysics, Physics, Physics and Astronomy, Astronomy and Astrophysics
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).