CosmoFit: A Graphical User Interface for Bayesian Cosmological Parameter Estimation with User-Defined H(z) Models
astro-ph.CO
Submitted: 2026-08-12
Updated: 2026-08-12
License: http://creativecommons.org/licenses/by/4.0/
The gist: We present CosmoFit, a desktop graphical interface for Bayesian parameter inference in background cosmology.
Abstract
We present CosmoFit, a desktop graphical interface for Bayesian parameter inference in background cosmology. The application is designed to simplify cosmological analyses by reducing the need to manually program each step, while maintaining the transparency and reproducibility of the results. Users can define an expansion history H(z), specify fixed and sampled parameters, assign prior ranges and proposal scales, select the available observational likelihoods, and run Markov chain Monte Carlo analyses from a unified graphical interface. CosmoFit uses Cobaya for Bayesian sampling and GetDist for posterior analysis and visualization. The current version supports cosmic-chronometer data and the official Pantheon+, Pantheon+SH0ES, and Union3 supernova likelihoods available through Cobaya. For each run, the application stores the configuration files, metadata, execution logs, chains, and numerical summaries required to inspect and reproduce the analysis. The performance of CosmoFit was evaluated through unit tests, a parameter-recovery test using synthetic data, and an independent comparison with an analysis performed directly in Cobaya. The posterior mean values obtained with both procedures agree to within less than one percent. In addition, the synthetic-data test recovers the fiducial parameters within the expected credible regions. As an illustrative example, we perform a spatially flat wCDM analysis using Pantheon+SH0ES and obtain marginalized constraints and triangle plots directly from the interface. Within its current scope, CosmoFit provides an accessible, transparent, and reproducible tool for research and academic applications involving explicit models of the background cosmological expansion.
Related papers
- Angular clustering and bias of photometric quasars in the Kilo-Degree Survey Data Release 4
- A Novel kinetic Sunyaev-Zel'dovich Estimator for Electron-Electron Correlations
- Magnetic fields at the dawn of structure formation I. The CARLA J1510+5958 proto-cluster
- Dark Energy Survey Year 6 Results: Weak Lensing and Galaxy Clustering Cosmological Analysis Framework
- Exploring the Impact of Systematic Bias in Type Ia Supernova Cosmology Across Diverse Dark Energy Parametrizations
- Non-Gaussian Galaxy Stochasticity and the Noise-Field Formulation