Implementation of the Bin Hierarchy Method for Restoring a Smooth Function from a Sampled Histogram

2019 
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 Frohlich 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.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    9
    References
    1
    Citations
    NaN
    KQI
    []