Ejemplo n.º 1
0
"""
ioHub
ioHub Common Eye Tracker Interface
.. file: ioHub/devices/eyetracker/hw/smi/iviewx/__init__.py

Copyright (C) 2012-2013 XXXXXXXX, iSolver Software Solutions
Distributed under the terms of the GNU General Public License (GPL version 3 or any later version).

.. moduleauthor:: Sol Simpson + contributors
"""
from ioHub import addDirectoryToPythonPath

addDirectoryToPythonPath('devices/eyetracker/hw/smi/iviewx','bin')

from eyetracker import (EyeTracker, MonocularEyeSampleEvent, BinocularEyeSampleEvent,
                        FixationStartEvent,FixationEndEvent,SaccadeStartEvent,
                        SaccadeEndEvent,BlinkStartEvent,BlinkEndEvent)
Ejemplo n.º 2
0
import sys
import numpy as N

import ioHub
from ... import AnalogInputDevice, MultiChannelAnalogInputEvent
from .... import Computer,ioDeviceError
from ioHub import addDirectoryToPythonPath
addDirectoryToPythonPath('devices/daq/hw/labjack')
import pylabjack

class AnalogInput(AnalogInputDevice):
    """
    """
    _SUPPORTED_MODELS = dict()
    _SUPPORTED_MODELS['U6'] = pylabjack.u6.U6

    ANALOG_TO_DIGITAL_RANGE=2**16
    ANALOG_RANGE=22.0
    # <<<<<

    _newDataTypes = [('resolution_index',N.uint8),('settling_factor',N.uint8)]
    __slots__=[e[0] for e in _newDataTypes]+['_labjack',
                                            '_calibration_data',
                                            '_data_streaming_thread',
                                            '_scan_count']
    def __init__(self, *args, **kwargs):
        """
        """
        AnalogInputDevice.__init__(self, *args, **kwargs)

        self._labjack=None
Ejemplo n.º 3
0
"""
ioHub
Common Eye Tracker Interface
.. file: ioHub/devices/eyetracker/hw/tobii/__init__.py

Copyright (C) 2012-2013 iSolver Software Solutions
Distributed under the terms of the GNU General Public License (GPL version 3 or any later version).

.. moduleauthor:: ??
.. fileauthor:: ??
"""
from ioHub import addDirectoryToPythonPath

addDirectoryToPythonPath('devices/eyetracker/hw/tobii')

from eyetracker import *
Ejemplo n.º 4
0
"""
ioHub
Common Eye Tracker Interface
.. file: ioHub/devices/eyeTracker/hw/sr_research/eyelink/__init__.py

Copyright (C) 2012-2013 iSolver Software Solutions

Distributed under the terms of the GNU General Public License (GPL version 3 or any later version).

.. moduleauthor:: Sol Simpson <*****@*****.**> + contributors, please see credits section of documentation.
.. fileauthor:: Sol Simpson <*****@*****.**>
"""

from ioHub import addDirectoryToPythonPath

addDirectoryToPythonPath('devices/eyetracker/hw/sr_research/eyelink')

from eyetracker import (EyeTracker, MonocularEyeSampleEvent, BinocularEyeSampleEvent,
                        FixationStartEvent,FixationEndEvent,SaccadeStartEvent,
                        SaccadeEndEvent,BlinkStartEvent,BlinkEndEvent)