Interval

class coffea.hist.Interval(lo, hi, label=None)[source]

Bases: object

Real number interval

Totally ordered, assuming no overlap in intervals. A special nan interval can be constructed, which is defined as greater than [*, inf)

Parameters:
  • lo (float) – Bin lower bound, inclusive

  • hi (float) – Bin upper bound, exclusive

Attributes Summary

hi

Upper boundary of this bin, exclusive

label

Label of this bin, mutable

lo

Lower boundary of this bin, inclusive

mid

Midpoint of this bin

Methods Summary

nan()

Attributes Documentation

hi

Upper boundary of this bin, exclusive

label

Label of this bin, mutable

lo

Lower boundary of this bin, inclusive

mid

Midpoint of this bin

Methods Documentation

nan()[source]