articleJournal of Cosmology and Astroparticle PhysicsAug 1, 2025HYBRID OA

GetDist: a Python package for analysing Monte Carlo samples

University of Sussex

Indexed incrossref

Abstract

Abstract Monte Carlo techniques, including MCMC and other methods, are widely used in Bayesian inference to generate sets of samples from a parameter space of interest. The Python GetDist package provides tools for analysing these samples and calculating marginalized one and two-dimensional densities using Kernel Density Estimation (KDE). Many Monte Carlo methods produce correlated and/or weighted samples, for example produced by MCMC, nested, or importance sampling, and there can be hard boundary priors. GetDist 's baseline method consists of applying a linear boundary kernel, and then using multiplicative bias correction. The smoothing bandwidth is selected automatically following Botev et al. [1], based on…

Citation impact

174
total citations
FWCI
354.28
Percentile
100%
References
37
Citations per year

Authors

1

Topics & keywords

Keywords
  • Markov chain Monte Carlo
  • Python (programming language)
  • Monte Carlo method
  • Algorithm
  • Smoothing
  • Computer science
  • Bayesian inference
  • Gaussian
No related works found for this paper.