Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ parsl = [
rucio = [
"rucio-clients>=32",
]
gpu = [
"cupy-cuda12x>=13.1.0",
"numba-cuda>=0.0.13",
]
dev = [
"pre-commit",
"flake8",
Expand Down
Empty file added src/coffea/jitters/__init__.py
Empty file.
38 changes: 38 additions & 0 deletions src/coffea/jitters/hist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"""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 <https://github.com/scikit-hep/histbook>`__ (deprecated),
`boost-histogram <https://github.com/scikit-hep/boost-histogram>`__ (in development),
`physt <https://github.com/scikit-hep/boost-histogram>`__, and built-in numpy
`histogram <https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html>`__ utilities.

"""

from coffea.jitters.hist.hist_tools import Bin, Cat, Hist, Interval, StringBin
from coffea.jitters.hist.plot import (
clopper_pearson_interval,
normal_interval,
plot1d,
plot2d,
plotgrid,
plotratio,
poisson_interval,
)

__all__ = [
"Hist",
"Bin",
"Interval",
"Cat",
"StringBin",
"poisson_interval",
"clopper_pearson_interval",
"normal_interval",
"plot1d",
"plotratio",
"plot2d",
"plotgrid",
]
Loading
Loading