pwassist.io.binning.TBin

pwassist.io.binning.TBin#

class pwassist.io.binning.TBin(low, high)[source]#

Bases: object

Parameters:
  • low (float)

  • high (float)

property center: float#

Return the center of the t bin.

classmethod from_tuple(t_tuple)[source]#

Create a TBin from a tuple of (low, high).

Return type:

TBin

Parameters:

t_tuple (tuple[float, float])

high: float#
low: float#
property width: float#

Return the width of the t bin.