Skip to main navigation Skip to search Skip to main content

Implementation of the bin hierarchy method for restoring a smooth function from a sampled histogram

  • Olga Goulko
  • , Alexander Gaenko
  • , Emanuel Gull
  • , Nikolay Prokof'ev
  • , Boris Svistunov
  • University of Massachusetts
  • Boise State University
  • University of Michigan, Ann Arbor
  • Russian Research Centre Kurchatov Institute
  • Shanghai Jiao Tong University

Research output: Contribution to journal › Article › peer-review

Abstract

We present BHM, a tool for restoring a smooth function from a sampled histogram using the bin hierarchy method. It is particularly useful for the analysis of data from large-scale numerical simulations of physical systems, such as diagrammatic Monte Carlo simulations of quantum many-body problems. The theoretical background of the method is presented in Goulko et al., (2018). The code automatically generates a smooth polynomial spline with the minimal acceptable number of knots from the input data. It works universally for any sufficiently regular shaped distribution and any level of data quality (provided that the data are uncorrelated or correlations have been accounted for), requiring almost no external parameter specification. This paper explains the details of the implementation and the use of the program, including a physical example of the restoration of the Fröhlich polaron Green's function from data sampled with diagrammatic Monte Carlo. Program summary: Program Title: BHM Program Files doi: http://dx.doi.org/10.17632/dvj8gxsxpk.1 Licensing provisions: GPLv3 Programming language: C++ External routines/libraries: CMake, GSL Nature of problem: Restoring a smooth function from a sampled histogram. Solution method: To make use of all information contained in the sampled data, the BHM algorithm generates a hierarchy of overlapping bins of different sizes from the initially supplied fine histogram. The bin hierarchy is fitted to a polynomial spline with the minimal acceptable number of knots, the positions of which are determined automatically. The output is a smooth function with error band.

Original languageEnglish
Pages (from-to)205-213
Number of pages9
JournalComputer Physics Communications
Volume236
DOIs
StatePublished - Mar 2019

ASJC Scopus Subject Areas

  • Hardware and Architecture
  • General Physics and Astronomy

Fingerprint

Dive into the research topics of 'Implementation of the bin hierarchy method for restoring a smooth function from a sampled histogram'. Together they form a unique fingerprint.

Cite this