Bayesim: A tool for adaptive grid model fitting with Bayesian inference

Published: 28 February 2019| Version 1 | DOI: 10.17632/fch5m6p3nn.1


Bayesian inference is a widely used and powerful analytical technique in fields such as astronomy and particle physics but has historically been underutilized in some other disciplines including semiconductor devices. In this work, we introduce bayesim, a Python package that utilizes adaptive grid sampling to efficiently generate a probability distribution over multiple input parameters to a forward model using a collection of experimental measurements. We discuss the implementation choices made in the code, showcase two examples in photovoltaics, and discuss general prerequisites for the approach to apply to other systems.



Computational Physics, Photovoltaics, Bayesian Inference