Skip to main content

A library for classifying raw eye gaze data into discrete events like saccades and fixations.

Project description

pyfixation is a Python package for classifying raw eye gaze data into discrete events like saccades and fixations. This package can be used online in real-time or offline after data has been collected.

Here’s a basic example of usage:

from pyfixation import FixationProcessor

px_per_mm = 3.55

fp = FixationProcessor( px_per_mm, sample_rate = 500 )

f = open( 'gazedata.txt', 'r' )
for line in f.readlines():
        gaze_found, gaze_x, gaze_y = map( float, line.split( '\t' ) )
        print fp.detect_fixation( gaze_found, gaze_x, gaze_y )

Project details


Download files

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

Source Distribution

PyFixation-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyFixation-0.2.1-py2.7.egg (7.3 kB view details)

Uploaded Egg

File details

Details for the file PyFixation-0.2.1.tar.gz.

File metadata

  • Download URL: PyFixation-0.2.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyFixation-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0ecb0d3dcc8c565d72261813be45ea1935c7ef569a8bbeabf2ac42f18704f230
MD5 c320a1dee993d0e1c38284ea827c7ca5
BLAKE2b-256 768c48b719d82b9965c5303f0c1a996ba3cc22621f378cd7615843e6941bbb48

See more details on using hashes here.

File details

Details for the file PyFixation-0.2.1-py2.7.egg.

File metadata

File hashes

Hashes for PyFixation-0.2.1-py2.7.egg
Algorithm Hash digest
SHA256 9ec2ddd37a80a99765f6d8de875145b6c93cd295744b229f24f8bf2cfc48d7a3
MD5 2d9e1589f4f191a5e15c13ac096ea484
BLAKE2b-256 24e6b1cd32db3e81c5b4e23103eb1b61ed978fbb1c17ef9fd62d78d1d0f88797

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page