GetDist: a Python package for analysing Monte Carlo samples
arXiv:1910.13970 · doi:10.1088/1475-7516/2025/08/025
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., based on a mixture of heuristics and optimization results using the expected scaling with an effective number of samples (defined here to account for both MCMC correlations and weights). Two-dimensional KDE uses an automatically-determined elliptical Gaussian kernel for correlated distributions. The package includes tools for producing a variety of publication-quality figures using a simple named-parameter interface, as well as a graphical user interface that can be used for interactive exploration. It can also calculate convergence diagnostics, produce tables of limits, and output in LaTeX, and is publicly available.
arXiv commentGetDist available on pypi or see https://getdist.readthedocs.io. v2: updated with detailed description of credible interval estimation, example of non-rectangular prior boundaries (GetDist 1.7, also with updated GUI)
References in corpus (11)
- Planck 2013 results. XVI. Cosmological parameters
- Cosmological parameters from CMB and other data: a Monte-Carlo approach
- Multimodal nested sampling: an efficient and robust alternative to MCMC methods for astronomical data analysis
- Kernel density estimation via diffusion
- Cobaya: Code for Bayesian Analysis of hierarchical physical models
- Efficient sampling of fast and slow cosmological parameters
- PolyChord: next-generation nested sampling
- A Review of Kernel Density Estimation with Applications to Econometrics
- Taking Bigger Metropolis Steps by Dragging Fast Variables
- Kernel density estimation of a multidimensional efficiency profile
- Nonparametric Bayesian Density Modeling with Gaussian Processes
Cited by in corpus (134)
- DESI DR2 Results II: Measurements of Baryon Acoustic Oscillations and Cosmological Constraints
- The Science of the Einstein Telescope
- SPT-3G D1: CMB temperature and polarization power spectra and cosmology from 2019 and 2020 observations of the SPT-3G Main field
- Quintessence and phantoms in light of DESI 2025
- A NICER view of the 1.4 solar-mass edge-on pulsar PSR J0614-3329
- Probing the sign-changeable interaction between dark energy and dark matter with DESI baryon acoustic oscillations and DES supernovae data
- Pressure Parametrization of Dark Energy: First and Second-Order Constraints with Latest Cosmological Data
- Interacting Dark Sectors in light of DESI DR2
- Testing signatures of phantom crossing through full-shape galaxy clustering analysis
- Is Dark Energy Dynamical in the DESI Era? A Critical Review
- Cosmological constraints on nonphantom dynamical dark energy with DESI Data Release 2 Baryon Acoustic Oscillations: A 3+ lensing anomaly
- Dispuable: the high cost of a low optical depth
- Exploring non-cold dark matter in a scenario of dynamical dark energy with DESI DR2 data
- Does DESI DR2 challenge CDM paradigm ?
- Robust evidence for dynamical dark energy in light of DESI DR2 and joint ACT, SPT, and Planck data
- Cosmic sign-reversal: non-parametric reconstruction of interacting dark energy with DESI DR2
- Current constraints on cosmological scenarios with very low reheating temperatures
- Model-independent cosmological inference after the DESI DR2 data with improved inverse distance ladder
- Neutrino mass tension or suppressed growth rate of matter perturbations?
- Toward a simultaneous resolution of the and tensions: early dark energy and an interacting dark sector model
- Measuring neutrino masses with joint JWST and DESI DR2 data
- Do we need wavelets in the late Universe?
- Cosmological implications of tracker scalar fields: Testing the evidence for dynamical dark energy with recent data
- Bayesian and frequentist perspectives agree on dynamical dark energy
- Cosmology from Planck CMB Lensing and DESI DR1 Quasar Tomography
- Beyond Two Parameters: Revisiting Dark Energy with the Latest Cosmic Probes
- New Interpretations of the Cosmological Preference for a Negative Neutrino Mass
- Revisiting CPL with sign-switching density: To cross or not to cross the NECB
- Probing departures from CDM by late-time datasets
- Quintessential Implications of the presence of AdS in the Dark Energy sector
- Revisiting the phenomenologically emergent dark energy model: is non-zero equation of state of dark matter favored by DESI DR2?
- Testing the cosmic distance duality relation with baryon acoustic oscillations and supernovae data
- The Atacama Cosmology Telescope: DR6 Power Spectrum Foreground Model and Validation
- Null energy condition violation and beyond Horndeski physics in light of DESI DR2 data
- Directly Probing Neutrino Interactions through CMB Phase Shift Measurements
- Investigating the CDM Model with Latest DESI BAO Observations
- One-loop power spectrum corrections in interacting dark energy cosmologies
- Evidence for evolving dark energy from DESI DR2 BAO and Pantheon, DES-Dovekie, and Union3
- A New Window on Dynamical Dark Energy: Combining DESI-DR2 BAO with future Gravitational Wave Observations
- Extended mass distribution of PBHs during QCD phase transition: SGWB and mini-EMRIs
- Measuring neutrino mass in light of ACT DR6 and DESI DR2
- Equation-of-state-informed pulse profile modeling
- Implications for Pulsar Timing Arrays of Sub-solar Black Hole Detections: From LVK to Einstein Telescope and Cosmic Explorer
- What Prevents Resolving the Hubble Tension through Late-Time Expansion Modifications?
- Redshift evolution of the Hubble constant: Constraints and new insights from an interacting dark energy model
- Constraining Cosmology with Double-source-plane Strong Gravitational Lenses from the AGEL Survey
- Addressing the DESI DR2 Phantom-Crossing Anomaly and Enhanced Tension with Reconstructed Scalar-Tensor Gravity
- Comparing measures of the Hubble and BAO tensions in CDM and possible solutions in gravity
- Exponential quintessence with momentum coupling to dark matter
- Resonant neutrino self-interactions: Insights from the full shape galaxy power spectrum
- Cosmic Strings as Dynamical Dark Energy: Novel Constraints
- Testing the consistency of new Amati-correlated gamma-ray burst dataset cosmological constraints with those from better-established cosmological data
- Gravitational Wave Signatures of Primordial Black Hole Reheating in Upcoming Interferometry Missions
- Scale and redshift dependent limits on cosmic neutrino properties
- The SRG/eROSITA All-Sky Survey. The Weak-Lensing Mass Calibration and the Stellar Mass-to-Halo Mass Relation from the Hyper Suprime-Cam Subaru Strategic Program
- Hints Beyond CDM from Barrow and Tsallis Holographic Dark Energy with GO cutoff
- Constraints on Generalized Gravity-Thermodynamic Cosmology from DESI DR2
- Neutrino decays as a natural explanation of the neutrino mass tension
- Constraining using the Large-Scale Modulation of Small-Scale Statistics
- Thawing Quintessence: Priors, evidence, and likely trajectories
- : fast differentiable angular power spectra beyond Limber
- Lowering the Horizon on Dark Energy: A Late-Time Response to Early Solutions for the Hubble Tension
- Modified cosmology through generalized mass-to-horizon entropy: observational constraints from DESI DR2 BAO data
- Power law -Starobinsky inflation
- Hubble Tension and Dark Energy in Teleparallel Gauss-Bonnet Gravity: New Constraints from DESI BAO, Pantheon and Hubble Data
- Assessing the Robustness of the CPL Parametrization to Basis and Prior Variations: Insights from DESI DR2 BAO Data
- Observational tests of the conformal osculating Barthel-Kropina cosmological model
- KiDS-Legacy: Constraining dark energy, neutrino mass, and curvature
- Non-Gaussian statistics in galaxy weak lensing: compressed three-point correlations and cosmological forecasts
- What can we learn about Reionization astrophysical parameters using Gaussian Process Regression?
- Cosmological Constraints on Neutrino Masses in a Second-Order CPL Dark Energy Model
- Dark Energy Survey: DESI-Independent Angular BAO Measurement
- Single-field D-type inflation in the minimal supergravity in light of Planck-ACT-SPT data
- Astrophysical uncertainties challenge 21-cm forecasts: A primordial black hole case study
- Dark energy, spatial curvature, and star formation efficiency from JWST photometric and spectroscopic high-redshift galaxies
- From Dark Radiation to Dark Energy: Unified Cosmological Evolution in K-essence Models
- Dark energy constraints in light of theoretical priors
- Cosmological constraints on the big bang quantum cosmology model
- Conformal Killing Gravity: New Constraints from DESI DR2 BAO datasets
- Probing Interacting Dark Sectors with upcoming Post-Reionization and Galaxy Surveys
- Neutrino mass limits and decaying dark matter: background evolution versus perturbations
- An analytic approximation to the covariance between pre- and post-reconstruction galaxy two-point statistics
- Forecasting the Constraint on the Hu-Sawicki Modified Gravity in the CSST pt Photometric Survey
- Illuminating the Dark Sector: Understanding Modified Gravity Signatures with Cross-Correlations of Gravitational Waves and Large-Scale Structure
- Observational constraints on the modified cosmology inspired by string T-duality
- Brans-Dicke-like field for co-varying and : observational constraints
- Cosmology in warped massive gravity
- The Impact of Spectroscopic Redshift Errors on Cosmological Measurements
- Probing the Type 3 interacting dark-energy model using matter pairwise velocity
- evortran: a modern Fortran package for genetic algorithms with applications from LHC data fitting to LISA signal reconstruction
- Compact Objects in 4D Einstein Gauss Bonnet Gravity A Data Based Perspective
- LiteBIRD science goals and forecasts: improved full-sky reconstruction of the gravitational lensing potential through the combination of Planck and LiteBIRD data
- An independent search for Jovian neutrinos using BOREXINO data
- Detectability of massive binary black holes with sub-mHz gravitational wave missions
- Power Suppression and Lensing Anomaly -- A phenomenological investigation
- Can dark energy explain a high growth index?
- Is the CDM Model in Crisis?
- Redshift Evolution of the HII Galaxy - Relation: Gaussian Process Analysis and Cosmological Implications
- Graph-based Summary Statistics for Revealing the Stochastic Gravitational Wave Background in Pulsar Timing Arrays
- Non-linear infusion of intrinsic alignment and source clustering: impact on non-Gaussian cosmic shear statistics
- Testing the cosmic distance duality relation using model-independent approach
- Probing cosmology with bright sirens from the CosmoDC2_BCO LSST synthetic catalog
- J-PAS: forecast on the primordial power spectrum reconstruction
- Cosmological Constraints on the DGP Model in light of DESI DR2 2025 Data
- Implications of a high growth index on the variation of
- Strong Lensing Model and Dust Extinction Maps of the Host Galaxy of Type Ia Supernova H0pe
- Accelerating reionization constraints: An ANN-emulator framework for the SCRIPT Semi-numerical Model
- The Atacama Cosmology Telescope: A demonstration of CMB lensing measurement from daytime data
- Insights for Early Dark Energy with Big Bang Nucleosynthesis
- Cosmological and lunar laser ranging constraints on evolving dark energy in a nonminimally coupled curvature-matter gravity model
- Revisiting the Matter Creation Process: Observational Constraints on Gravitationally Induced Dark Energy and the Hubble Tension
- Three-point intrinsic alignments of galaxies and haloes in the FLAMINGO simulations
- Beyond thermal approximations: Precise cosmological bounds on Axion-Like Particles
- Constraining Quintessence Models with ISW-tSZ Cross-Correlations: A Comparative Analysis of Thawing, Tracker, and Scaling-Freezing Dynamics
- Determination of neutron star radius from pulse profile modeling using profile likelihood
- Background dynamics and observational constraints of flat and non-flat CDM models from and DESI DR2 BAO measurements
- Observational and Thermodynamic aspects of one-dimensional Dark Energy EoS parametrization models
- Revisiting observational constraints on coupled exponential quintessence with energy and momentum transfers: degeneracy with massive neutrinos
- Beyond the Cosmological Constant: Breaking the Geometric Degeneracy of cosmology via Redshift-Space Distortions
- Constraining Spatial Curvature with Priors from Swampland Conjectures
- Preliminary cosmological results using extreme accretors Quasar formalism
- Constraints on the gravitational potential from DESI DR2 BAO and its implications for the local void scenario
- A Bayesian estimator for peculiar velocity correction in cosmological inference from supernovae data
- Resolving the Hubble Tension in the Early Dark Energy Framework with JWST and DESI Data
- Unifying the Dark Sector with the New Generalized Chaplygin Gas: Observational Constraints
- Improving exoplanet mass characterisation with Bayesian model selection using the Learned Harmonic Mean Estimator
- Testing the Anton-Schmidt dark energy model with the DESI DR2 measurements
- No preference for generalized emergent dark energy from current cosmological data
- Viscous matter in modified -gravity: Hubble tension attenuation with DESI and SH0ES data
- Constraints on the Modified Emergent Dark Energy Model Using DESI DR2 BAO
- How to embed any likelihood into SBI: Application to Planck + Stage IV galaxy surveys and Dynamical Dark Energy
- Breaking the Mass-sheet Degeneracy in Time-delay Cosmology with Lensed and Unlensed Type Ia Supernovae
- Analyzing -couplings at the future collider
- Mitigating point-source contamination in CMB polarization: a Generalized Point Spread Function fitting approach