Skip to main content
QUICK REVIEW

[Paper Review] HMFcalc: An Online Tool for Calculating Dark Matter Halo Mass Functions

Steven Murray, Chris Power|UWA Profiles and Research Repository (University of Western Australia)|Jun 28, 2013
Galaxies: Formation, Evolution, Phenomena28 references4 citations
TL;DR

HMFcalc is an online web application and underlying Python package (hmf) that enables fast, flexible, and accurate calculation of dark matter halo mass functions (HMFs) across various cosmological models. It supports both standard analytical forms and user-defined prescriptions, offering researchers an accessible tool for testing cosmological theories through HMF predictions and comparisons with observational data.

ABSTRACT

The dark matter halo mass function (HMF) is a characteristic property of cosmological structure formation models, quantifying the number density of dark matter haloes per unit mass in the Universe. A key goal of current and planned large galaxy surveys is to measure the HMF and to use it to test theories of dark matter and dark energy. We present a new web application for calculating the HMF -- the frontend HMFcalc and the engine hmf. HMFcalc has been designed to be flexible, efficient and easy to use, providing observational and theoretical astronomers alike with the means to explore standard functional forms of the HMF or to tailor their own. We outline the theoretical background needed to compute the HMF, we show how it has been implemented in hmf, and finally we provide worked examples that illustrate HMFcalc's versatility as an analysis tool.

Motivation & Objective

  • To develop an accessible, efficient, and extensible web-based tool for computing dark matter halo mass functions (HMFs) across diverse cosmological models.
  • To support observational and theoretical astronomers in exploring standard and custom HMF functional forms for cosmological model testing.
  • To provide a computationally efficient and well-documented implementation of HMF calculations suitable for integration into broader cosmological analysis pipelines.
  • To facilitate comparison between theoretical HMF predictions and observational measurements from large-scale galaxy surveys.

Proposed method

  • The HMFcalc web interface provides a user-friendly frontend for inputting cosmological parameters and selecting HMF models.
  • The backend engine, hmf, is a Python package that computes HMFs using analytical fitting functions and numerical integration.
  • The tool supports multiple standard HMF forms, including Sheth-Tormen, Tinker et al., and Press-Schechter, with adjustable parameters.
  • Users can define custom HMF forms via a modular interface, enabling flexible exploration of non-standard or modified gravity scenarios.
  • The implementation uses optimized numerical methods to ensure fast computation, even for large parameter space scans.
  • The system is hosted online and accessible via a public web interface, with source code and documentation available for reuse.

Experimental results

Research questions

  • RQ1How can the halo mass function be efficiently and accurately computed across a wide range of cosmological models?
  • RQ2What is the performance and accuracy of different analytical HMF fitting functions when implemented in a standardized computational framework?
  • RQ3To what extent can a flexible, user-extensible tool improve the accessibility and reproducibility of HMF calculations in cosmological research?
  • RQ4How can observational constraints on the HMF be effectively compared with theoretical predictions using a unified computational platform?

Key findings

  • HMFcalc enables rapid computation of halo mass functions across diverse cosmological models with minimal user input.
  • The tool supports multiple standard HMF fitting functions with high numerical accuracy and performance.
  • The hmf Python package is designed for extensibility, allowing users to implement and test custom HMF forms with ease.
  • The web interface provides interactive visualization of HMFs, enhancing interpretability and usability for both novices and experts.
  • The system has been validated against published results, confirming consistency with established HMF prescriptions.
  • The tool facilitates direct comparison between theoretical HMF predictions and observational data from galaxy surveys, supporting cosmological model testing.

Better researchstarts right now

From reading papers to final review, dramatically reduce your research time.

No credit card · Free plan available

This review was created by AI and reviewed by human editors.