Skip to Main Content
Skip Nav Destination
GEOREF RECORD

BayesBay; a versatile Bayesian inversion framework written in Python

Fabrizio Magrini, Jiawen He and Malcolm Sambridge
BayesBay; a versatile Bayesian inversion framework written in Python
Seismological Research Letters (January 2025) 96 (3): 2052-2064

Abstract

The lack of versatile tools for Bayesian inference presents a significant challenge to researchers in geophysics, who often resort to developing bespoke codes to address specific classes of inverse problems. In this study, we present BayesBay, a Python package for generalized transdimensional and hierarchical Markov chain Monte Carlo sampling. Leveraging object-oriented programming principles, BayesBay facilitates the definition of Bayesian sampling problems across a range of applications. This includes joint inversions of multiple data sets with different forward functions and unknown noise properties, as well as complex parameterizations involving multiple parameters with unknown dimensionality and/or spatially varying priors. We illustrate BayesBay from both a technical and a practical perspective. The first two applications are common in geophysics: a 2D tomographic problem and a joint inversion for the 1D subsurface structure. The third involves partition modeling and requires a sophisticated parameterization with two nested levels of transdimensionality. In all cases, BayesBay recovers known solutions, highlighting its potential to address a broad range of inverse problems.


ISSN: 0895-0695
EISSN: 1938-2057
Serial Title: Seismological Research Letters
Serial Volume: 96
Serial Issue: 3
Title: BayesBay; a versatile Bayesian inversion framework written in Python
Affiliation: Australian National University, Research School of Earth Sciences, Canberra, A.C.T., Australia
Pages: 2052-2064
Published: 20250127
Text Language: English
Publisher: Seismological Society of America, El Cerrito, CA, United States
References: 52
Accession Number: 2025-022102
Categories: Seismology
Document Type: Serial
Bibliographic Level: Analytic
Illustration Description: illus. incl. 1 table
Country of Publication: United States
Secondary Affiliation: GeoRef, Copyright 2025, American Geosciences Institute. Abstract, Copyright, Seismological Society of America. Reference includes data from GeoScienceWorld, Alexandria, VA, United States
Update Code: 202513

or Create an Account

Close Modal
Close Modal