def __init__(self, sock, callback=None, high_speed=True, parser=None, daisy=False):
    asyncore.dispatcher_with_send.__init__(self, sock)
    self.callback = callback
    self.daisy = daisy
    self.high_speed = high_speed
    self.last_odd_sample = OpenBCISample()
    self.parser = (parser if (parser is not None) else ParseRaw(gains=[24, 24, 24, 24, 24, 24, 24, 24]))
def __init__(self, sock, callback=None, high_speed=True, parser=None, daisy=False):
    asyncore.dispatcher_with_send.__init__(self, sock)
    self.callback = callback
    self.daisy = daisy
    self.high_speed = high_speed
    self.last_odd_sample = OpenBCISample()
    self.parser = (parser if (parser is not None) else ParseRaw(gains=[24, 24, 24, 24, 24, 24, 24, 24]))