Skip to main content

Tools for processing wearable eye tracker recordings.

Project description

Downloads PyPI Latest Release image

GlassesTools v1.11.3

Tools for processing wearable eye tracker recordings.

If you use this package or any of the code in this repository, please cite:
Niehorster, D.C., Hessels, R.S., Benjamins, J.S., Nyström, M. and Hooge, I.T.C. (2023). GlassesValidator: A data quality tool for eye tracking glasses. Behavior Research Methods. doi: 10.3758/s13428-023-02105-5

API

glassesTools.importing

function inputs description
get_recording_info()
  1. source_dir
  2. device: glassesTools.eyetracker.EyeTracker
Determine if provided path contains a recording/recordings made with the specified eye tracker (device) and if so, get info about these recordings.
do_import()
  1. output_dir
  2. source_dir
  3. device: glassesTools.eyetracker.EyeTracker
  4. rec_info
Import the specified recording to output_dir. Either device or rec_info must be specified. Does nothing if directory does not contain a recording made with the specified eye tracker.
adhawk_mindlink()
  1. output_dir
  2. source_dir
  3. rec_info
  4. cam_cal_file: OpenCV XML file containing a camera calibration to be used when processing this recording. Optional. If not provided a default calibration provided by AdHawk is used.
Import an AdHawk MindLink recording to a subdirectory of output_dir. Does nothing if directory does not contain an AdHawk MindLink recording. rec_info is optional.
pupil_core()
  1. output_dir
  2. source_dir
  3. rec_info
Import a Pupil Core recording to a subdirectory of output_dir. Does nothing if directory does not contain a Pupil Core recording. rec_info is optional.
pupil_invisible()
  1. output_dir
  2. source_dir
  3. rec_info
Import a Pupil Invisible recording to a subdirectory of output_dir. Does nothing if directory does not contain a Pupil Invisible recording. rec_info is optional.
pupil_neon()
  1. output_dir
  2. source_dir
  3. rec_info
Import a Pupil Neon recording to a subdirectory of output_dir. Does nothing if directory does not contain a Pupil Neon recording. rec_info is optional.
SeeTrue_STONE()
  1. output_dir
  2. source_dir
  3. rec_info
  4. cam_cal_file: OpenCV XML file containing a camera calibration to be used when processing this recording. Optional. If not provided a default calibration provided by SeeTrue is used.
Import a SeeTrue recording to a subdirectory of output_dir. Does nothing if directory does not contain a SeeTrue recording. rec_info is optional.
SMI_ETG()
  1. output_dir
  2. source_dir
  3. rec_info
Import a SMI ETG recording to a subdirectory of output_dir. Does nothing if directory does not contain a SMI ETG 1 or 2 recording. rec_info is optional.
tobii_G2()
  1. output_dir
  2. source_dir
  3. rec_info
Import a Tobii Pro Glasses 2 recording to a subdirectory of output_dir. Does nothing if directory does not contain a Tobii Pro Glasses 2 recording. rec_info is optional.
tobii_G3()
  1. output_dir
  2. source_dir
  3. rec_info
Import a Tobii Pro Glasses 3 recording to a subdirectory of output_dir. Does nothing if directory does not contain a Tobii Pro Glasses 3 recording. rec_info is optional.

Common input arguments

argument description
source_dir Path to directory containing one (or for some eye trackers potentially multiple) eye tracker recording(s) as stored by the eye tracker's recording hardware or software.
working_dir, or output_dir Path to a glassesValidator recording directory. In the case of output_dir, it is the directory the functions in glassesTools.importing will import the recording to.

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

glassestools-1.11.3.tar.gz (119.4 kB view details)

Uploaded Source

Built Distribution

glassesTools-1.11.3-py3-none-any.whl (140.9 kB view details)

Uploaded Python 3

File details

Details for the file glassestools-1.11.3.tar.gz.

File metadata

  • Download URL: glassestools-1.11.3.tar.gz
  • Upload date:
  • Size: 119.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for glassestools-1.11.3.tar.gz
Algorithm Hash digest
SHA256 8e8039e4612b4661ad6a6f87d7469e1a2bf7283ca0a9ff0b611890417c43e058
MD5 e095d90315a5cfc55051346bd835a1a8
BLAKE2b-256 f3ae2645a5d296026b90727180f10cc4a2c8dbb02ddefa79a41bdff4451ff6ad

See more details on using hashes here.

File details

Details for the file glassesTools-1.11.3-py3-none-any.whl.

File metadata

File hashes

Hashes for glassesTools-1.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea610ab89efd20d79c0c3a9e68565f69c5d379bdd0b03a6d3a2988d996e20975
MD5 b8b64f9c2a384b910a99ab76286842ff
BLAKE2b-256 a93cf34c086f3aa20ed274e118570d3119b8d6ed0bcc7ac0da586eb6ef53323a

See more details on using hashes here.

Supported by

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