def __init__(self, scaling_output=True): DefaultDelegate.__init__(self) # holds samples until OpenBCIBoard claims them self.samples = [] # detect gaps between packets self.last_id = -1 self.packets_dropped = 0 # save uncompressed data to compute deltas self.lastChannelData = [0, 0, 0, 0] # 18bit data got here and then accelerometer with it self.lastAcceleromoter = [0, 0, 0] # when the board is manually set in the right mode (z to start, Z to stop) # impedance will be measured. 4 channels + ref self.lastImpedance = [0, 0, 0, 0, 0] self.scaling_output = scaling_output # handling incoming ASCII messages self.receiving_ASCII = False self.time_last_ASCII = timeit.default_timer()
def __init__(self): DefaultDelegate.__init__(self) self.lastVal = 0
def __init__(self, nuimoOnkyo): DefaultDelegate.__init__(self) self.nuimo = nuimoOnkyo
def __init__(self, csvlog): DefaultDelegate.__init__(self) self.csvlog = csvlog
def __init__(self, container=None): DefaultDelegate.__init__(self) self.__container = container
def __init__(self, address): DefaultDelegate.__init__(self) self.__address = address self.__connect()
def __init__(self): DefaultDelegate.__init__(self)
def __init__(self, params): DefaultDelegate.__init__(self)
def __init__(self): DefaultDelegate.__init__(self) self.devices = []
def __init__(self, params): DefaultDelegate.__init__(self) print "Info, DefaultDelegate set", params
def __init__(self, nuimoTimer): DefaultDelegate.__init__(self) self.nuimoTimer = nuimoTimer
def __init__(self, nuimo, strip): DefaultDelegate.__init__(self) self.nuimo = nuimo self.strip = strip
def __init__(self): DefaultDelegate.__init__(self) self.d_movement = deque()
def __init__(self): DefaultDelegate.__init__(self) self.queue = list()
def __init__(self, scanner, notify): DefaultDelegate.__init__(self) self.notify = notify self.scanner = scanner
def __init__(self, bt_addr): DefaultDelegate.__init__(self) self.bt_addr = bt_addr
def __init__(self, opts): DefaultDelegate.__init__(self) self.opts = opts
def __init__(self): DefaultDelegate.__init__(self) self.current_index = 0 self.dft = [0] * 256
def __init__(self, device): DefaultDelegate.__init__(self) self.device = device