alphatwirl.summary.Count

class alphatwirl.summary.Count(val=None, weight=1, contents=None)[source]
Parameters:
  • val – If None, initialize with 0. i.e., not counted. Otherwise, typically an empty tuple, counted with the weight. Ignored if contents are given.
  • weight (float) – The weight
  • contents – Specified contents unless None
__init__(val=None, weight=1, contents=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([val, weight, contents]) Initialize self.