hist.accumulators module#

class hist.accumulators.Mean#

Bases: pybind11_object

property count#
fill(self: boost_histogram._core.accumulators.Mean, value: object, *, weight: object = None) boost_histogram._core.accumulators.Mean#

Fill the accumulator with values. Optional weight parameter.

property value#
property variance#
class hist.accumulators.Sum#

Bases: pybind11_object

fill(self: boost_histogram._core.accumulators.Sum, value: object) boost_histogram._core.accumulators.Sum#

Run over an array with the accumulator

property value#
class hist.accumulators.WeightedMean#

Bases: pybind11_object

fill(self: boost_histogram._core.accumulators.WeightedMean, value: object, *, weight: object = None) boost_histogram._core.accumulators.WeightedMean#

Fill the accumulator with values. Optional weight parameter.

property sum_of_weights#
property sum_of_weights_squared#
property value#
property variance#
class hist.accumulators.WeightedSum#

Bases: pybind11_object

fill(self: boost_histogram._core.accumulators.WeightedSum, value: object, *, variance: object = None) boost_histogram._core.accumulators.WeightedSum#

Fill the accumulator with values. Optional variance parameter.

property value#
property variance#