coffea.hist
Histogramming tools
coffea.hist is a histogram filling, transformation, and plotting sub-package, utilizing numpy arrays for storage and matplotlib plotting routines for visualization.
Features found in this package are similar to those found in packages such as histbook (deprecated), boost-histogram (in development), physt, and built-in numpy histogram utilities.
Functions
|
Frequentist coverage interval for Poisson-distributed observations |
|
Compute Clopper-Pearson coverage interval for a binomial distribution |
|
Compute errors based on the expansion of pass/(pass + fail), possibly weighted |
|
Create a 1D plot from a 1D or 2D |
|
Create a ratio plot, dividing two compatible histograms |
|
Create a 2D plot from a 2D |
|
Create a grid of plots, enumerating identifiers on up to 3 axes |
|
Export a 1-dimensional |
Classes
|
Specify a multidimensional histogram. |
|
A binned axis with name, label, and binning. |
|
Real number interval |
|
A category axis with name and label |
|
A string used to fill a sparse axis |