RegularBinning#
- class zfit.data.RegularBinning(bins, start, stop, *, name)[source]#
Bases:
HashableAxisMixin,Regular,ZfitBinning- __getitem__(i)#
Access a bin, using normal Python syntax for wraparound.
- bin(index)#
Return the edges of the bins as a tuple for a continuous axis or the bin value for a non-continuous axis, when given an index.
- index(value)#
Return the fractional index(es) given a value (or values) on the axis.
- Return type:
- property traits: Traits#
Get traits for the axis - read only properties of a specific axis.