Skip to content

Commit c075935

Browse files
committed
port in hist from old coffea to jitters area
1 parent f1831f0 commit c075935

File tree

6 files changed

+3511
-0
lines changed

6 files changed

+3511
-0
lines changed

src/coffea/jitters/__init__.py

Whitespace-only changes.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""Histogramming tools
2+
3+
`coffea.hist` is a histogram filling, transformation, and plotting sub-package, utilizing
4+
numpy arrays for storage and matplotlib plotting routines for visualization.
5+
6+
Features found in this package are similar to those found in
7+
packages such as `histbook <https://github.com/scikit-hep/histbook>`__ (deprecated),
8+
`boost-histogram <https://github.com/scikit-hep/boost-histogram>`__ (in development),
9+
`physt <https://github.com/scikit-hep/boost-histogram>`__, and built-in numpy
10+
`histogram <https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html>`__ utilities.
11+
12+
"""
13+
14+
from coffea.jitters.hist.hist_tools import Bin, Cat, Hist, Interval, StringBin
15+
from coffea.jitters.hist.plot import (
16+
clopper_pearson_interval,
17+
normal_interval,
18+
plot1d,
19+
plot2d,
20+
plotgrid,
21+
plotratio,
22+
poisson_interval,
23+
)
24+
25+
__all__ = [
26+
"Hist",
27+
"Bin",
28+
"Interval",
29+
"Cat",
30+
"StringBin",
31+
"poisson_interval",
32+
"clopper_pearson_interval",
33+
"normal_interval",
34+
"plot1d",
35+
"plotratio",
36+
"plot2d",
37+
"plotgrid",
38+
]

0 commit comments

Comments
 (0)