Skip to main content
Ctrl+K
boost-histogram docs - Home boost-histogram docs - Home
  • Welcome to boost-histogram’s documentation!

User Guide:

  • Installation
  • Quickstart
  • Histogram
  • Axes
  • Storages
  • Accumulators
  • Using Transforms
  • Indexing
  • Plotting
  • Analyses examples
  • NumPy compatibility
  • Subclassing (advanced)
  • Comparison with Boost.Histogram

Examples:

  • Simple Example
  • MultiCell histograms
  • Threaded Fills
  • Performance Comparison
  • XArray Example
  • Using boost-histogram

Developers

  • Contributing
  • Support
  • Changelog

API Reference:

  • boost_histogram
  • Repository
  • Suggest edit
  • Open issue
  • .rst

  • boost_histogram
    • Histogram
      • Histogram.allclose()
      • Histogram.axes
      • Histogram.copy()
      • Histogram.counts()
      • Histogram.empty()
      • Histogram.fill()
      • Histogram.kind
      • Histogram.ndim
      • Histogram.project()
      • Histogram.reset()
      • Histogram.shape
      • Histogram.size
      • Histogram.storage
      • Histogram.storage_type
      • Histogram.sum()
      • Histogram.to_numpy()
      • Histogram.values()
      • Histogram.variances()
      • Histogram.view()
    • Kind
      • Kind.COUNT
      • Kind.MEAN
    • loc
      • loc.value
    • rebin
      • rebin.axis
      • rebin.axis_mapping()
      • rebin.edges
      • rebin.factor
      • rebin.group_mapping()
      • rebin.groups
    • sum()
  • boost_histogram.axis
    • ArrayTuple
      • ArrayTuple.broadcast()
    • AxesTuple
      • AxesTuple.bin()
      • AxesTuple.centers
      • AxesTuple.edges
      • AxesTuple.extent
      • AxesTuple.index()
      • AxesTuple.size
      • AxesTuple.value()
      • AxesTuple.widths
    • Axis
      • Axis.bin()
      • Axis.centers
      • Axis.edges
      • Axis.extent
      • Axis.index()
      • Axis.size
      • Axis.traits
      • Axis.value()
      • Axis.widths
    • Boolean
    • IntCategory
    • Integer
    • Regular
      • Regular.transform
    • StrCategory
      • StrCategory.index()
    • Traits
      • Traits.circular
      • Traits.continuous
      • Traits.discrete
      • Traits.growth
      • Traits.ordered
      • Traits.overflow
      • Traits.underflow
    • Variable
  • boost_histogram.axis.transform
    • AxisTransform
      • AxisTransform.forward()
      • AxisTransform.inverse()
    • Function
    • Pow
      • Pow.power
  • boost_histogram.accumulators
    • Accumulator
  • boost_histogram.histogram
    • Histogram
      • Histogram.allclose()
      • Histogram.axes
      • Histogram.copy()
      • Histogram.counts()
      • Histogram.empty()
      • Histogram.fill()
      • Histogram.kind
      • Histogram.ndim
      • Histogram.project()
      • Histogram.reset()
      • Histogram.shape
      • Histogram.size
      • Histogram.storage
      • Histogram.storage_type
      • Histogram.sum()
      • Histogram.to_numpy()
      • Histogram.values()
      • Histogram.variances()
      • Histogram.view()
    • Kind
      • Kind.COUNT
      • Kind.MEAN
  • boost_histogram.numpy
    • histogram()
    • histogram2d()
    • histogramdd()
  • boost_histogram.storage
    • AtomicInt64
      • AtomicInt64.accumulator
    • Double
      • Double.accumulator
    • Int64
      • Int64.accumulator
    • Mean
    • MultiCell
      • MultiCell.accumulator
    • Storage
      • Storage.accumulator
    • Unlimited
      • Unlimited.accumulator
    • Weight
    • WeightedMean
  • boost_histogram.tag
    • Locator
      • Locator.NAME
      • Locator.offset
    • Slicer()
    • at
      • at.value
    • loc
      • loc.value
    • rebin
      • rebin.axis
      • rebin.axis_mapping()
      • rebin.edges
      • rebin.factor
      • rebin.group_mapping()
      • rebin.groups
    • sum()
  • boost_histogram.typing
    • ArrayLike
    • AxisLike
      • AxisLike.index()
    • CppHistogram
    • Mean
    • RebinProtocol
      • RebinProtocol.axis_mapping()
    • Ufunc
    • WeightedMean
    • WeightedSum
  • boost_histogram.view
    • MeanView
      • MeanView.count
      • MeanView.value
      • MeanView.variance
    • View
    • WeightedMeanView
      • WeightedMeanView.sum_of_weights
      • WeightedMeanView.sum_of_weights_squared
      • WeightedMeanView.value
      • WeightedMeanView.variance
    • WeightedSumView
      • WeightedSumView.value
      • WeightedSumView.variance
    • fields()
    • make_getitem_property()

previous

Changelog

next

boost_histogram

By Henry Schreiner, Hans Dembinski

© Copyright 2020-2026, Henry Schreiner, Hans Dembinski.