# Path: pygesture/daq.py
# class Daq(object):
# class MccDaq(Daq):
# class TrignoDaq(object):
# class DisconnectException(Exception):
#     def __init__(self, rate, input_range, channel_range, samples_per_read):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def reset(self):
#     def set_channel_range(self, channel_range):
#     def __init__(self, rate, input_range, channel_range, samples_per_read):
#     def _initialize(self):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def set_channel_range(self, channel_range):
#     def __init__(self, channel_range, samples_per_read, addr='localhost'):
#     def _initialize(self):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def reset(self):
#     def __del__(self):
#     def set_channel_range(self, channel_range):
#     def _send_cmd(self, command):
#     def _cmd(command):
#     def _validate(response):
#     RATE = 2000
#     CMD_PORT = 50040
#     EMG_PORT = 50041
#     BYTES_PER_CHANNEL = 4
#     NUM_CHANNELS = 16
#     MIN_RECV_SIZE = NUM_CHANNELS * BYTES_PER_CHANNEL
#     COMM_TERM = '\r\n\r\n'
#     SCALE = 1 / 0.011
# 
# Path: pygesture/ui/qt.py



import numpy as np
from pygesture import daq
from pygesture.ui.qt import QtCore



class RecordThread(QtCore.QThread):

    ready_sig = QtCore.pyqtSignal()
    update_sig = QtCore.pyqtSignal(np.ndarray)

# Path: pygesture/daq.py
# class Daq(object):
# class MccDaq(Daq):
# class TrignoDaq(object):
# class DisconnectException(Exception):
#     def __init__(self, rate, input_range, channel_range, samples_per_read):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def reset(self):
#     def set_channel_range(self, channel_range):
#     def __init__(self, rate, input_range, channel_range, samples_per_read):
#     def _initialize(self):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def set_channel_range(self, channel_range):
#     def __init__(self, channel_range, samples_per_read, addr='localhost'):
#     def _initialize(self):
#     def start(self):
#     def read(self):
#     def stop(self):
#     def reset(self):
#     def __del__(self):
#     def set_channel_range(self, channel_range):
#     def _send_cmd(self, command):
#     def _cmd(command):
#     def _validate(response):
#     RATE = 2000
#     CMD_PORT = 50040
#     EMG_PORT = 50041
#     BYTES_PER_CHANNEL = 4
#     NUM_CHANNELS = 16
#     MIN_RECV_SIZE = NUM_CHANNELS * BYTES_PER_CHANNEL
#     COMM_TERM = '\r\n\r\n'
#     SCALE = 1 / 0.011
# 
# Path: pygesture/ui/qt.py



# Path: pygesture/ui/recorder.py
import numpy as np
from pygesture import daq
from pygesture.ui.qt import QtCore




class RecordThread(QtCore.QThread):

    ready_sig = QtCore.pyqtSignal()
    update_sig = QtCore.pyqtSignal(np.ndarray)

    finished_sig = QtCore.pyqtSignal(np.ndarray)