arrow
Return

pyerrors: A python framework for error analysis of Monte Carlo data

delete2023-07-01
delete11
delete
OA
AI
F
Fabian Joswig *
S
Simon Kuberski
J
Justus T. Kuhlmann
J
Jan Neuendorf
DOI:10.1016/j.cpc.2023.108750delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
We present the pyerrors python package for statistical error analysis of Monte Carlo data. Linear error propagation using automatic differentiation in an object oriented framework is combined with the Gamma-method for a reliable estimation of autocorrelation times. Data from different sources can easily be combined, keeping the information on the origin of error components intact throughout the analysis. pyerrors can be smoothly integrated into the existing scientific python ecosystem which allows for efficient and compact analyses. Program summary Program Title: pyerrors CPC Library link to program files: https://doi.org/10.17632/7ncw242ymh.1 Developer's repository link: https://github.com/fjosw/pyerrors Licensing provisions: MIT Programming language: python Nature of problem: Data obtained from Markov chain Monte Carlo simulations exhibits autocorrelations. These become particularly severe when approaching the continuum limit of lattice discretized quantum field theories which becomes more and more relevant in modern day large scale simulations. In order to obtain reliable error estimates these autocorrelations have to be taken into account in complex data analysis workflows. Solution method: Linear error propagation in combination with automatic differentiation is implemented in a new python data type which keeps track of statistical errors across multiple sources of uncertainty. Operator overloading allows for a seamless integration into the scientific python ecosystem and into existing workflows. The Gamma-method facilitates a controlled estimate of integrated autocorrelation times at any stage of the analysis and provides reliable error estimates without numerical overhead. (c) 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
Keywords:
Lattice QCD
Monte Carlo
Markov chain
Error analysis

Journal

Computer Physics Communications cover
Computer Physics Communications
IF:
3.4
Papers:
1.2W
Citations:
4.7W

Organization

J
johannes gutenberg university of mainz
Scholars:
269
Papers: 72
Citations: 1.3W
U
University of Edinburgh
Scholars:
3.0K
Papers: 1.2K
Citations: 3.7W
G
gsi helmholtz-center for heavy ion research
Scholars:
27
Papers: 17
Citations: 533
researcher View more organizations
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
Using Rare Earth Elements to Control Phosphorus and Track Manure in Runoff
err2010-05-01
err0
errOAAI
errAnthony R. Buda; Clinton Church; Peter J.A. Kleinman; Lou S. Saporito; Barton G. Moyer; Liang Tao
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
A Python program for the implementation of the Γ-method for Monte Carlo simulations
err2019-01-01
err6
errOAAI
errDe Palma, Barbara; Erba, Marco; Mantovani, Luca; Mosco, Nicola
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more