skip to navigation
skip to content

pyviewx.client 0.4.8

A package for communicating with eye trackers via the iViewX server software from SensoMotoric Instruments.

Latest Version: 0.5.1

Here’s a basic example of usage:

from pyviewx.client import iViewXClient, Dispatcher
from twisted.internet import reactor

d = Dispatcher()
client = iViewXClient('', 4444)

def PyViewXEvent(inResponse):
        print 'Fixation Start', inResponse

def PyViewXEvent(inResponse):
        print 'Fixation End', inResponse

def PyViewXEvent(inResponse):
        print 'Sample', inResponse

reactor.listenUDP(5555, client)
reactor.callLater(0, client.setDataFormat, '%TS %ET %SX %SY %DX %DY %EX %EY %EZ')
reactor.callLater(0, client.startDataStreaming)
reactor.callLater(0, client.startFixationProcessing)
File Type Py Version Uploaded on Size
pyviewx.client-0.4.8.tar.gz (md5) Source 2012-11-09 4KB