def __init__(self, evtlabs=None, histlen=20):
    self.evtlabs = evtlabs
    self.histlen = histlen
    self.prevX = None
def __init__(self, evtlabs=None, histlen=20):
    self.evtlabs = evtlabs
    self.histlen = histlen
    self.prevX = None