Skip to main content

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

Project description

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)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyviewx.client, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size pyviewx.client-0.5.0.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page