Skip to content

Tracking

czuba edited this page Mar 9, 2020 · 1 revision

pds.tracking

New method for [eye] tracking to replace device-centric standard (e.g. pds.eyelink, etc)

  • enable/disable by setting p.trial.tracking.use (default==true)
    • disable & all standard tracking should behave as normal (fingers crossed)
  • uses standard underlying PLDAPS components like p.trial.eyelink or p.trial.mouse
    • defaults to eyelink
  • robust to other eyetracking hardware and even other tracking sources (e.g. leap motion)
    • currently coded to be totally interchangeable with .mouse & .eyelink
    • easily extensible to others (use as examples)
  • Manages all calibration on matlab-side, for total control of calibration state
    • save/recall different calibrations on-the-fly
    • adjust calibration to changing viewing distance
    • binocular eye tracking
    • subject-specific calibrations are saved locally (inside pldaps root dir: ./rigPrefs/tracking)
  • Calibration runs as/within an actual PLDAPS trial
    • utilizing all the same presentation functionality of the real experimental flow
    • GUI figure during calibration for online evaluation of sampled data points & calibration state

Usage

  • After beginning experiment, enter pause state by pressing [p] key (as normal)
  • From command window, execute pds.tracking.runCalibrationTrial(p)

Follow instructions printed in command window for controls

  • Press [zero] key to unhide stimulus
  • Press [spacebar] to acquire a sample and move to the next random point
  • use number keys to jump to a given location on the 9-point grid
  • Press [u] key to update calibration
    • [v] key to validate (i.e. progress through points & reward, but don't record the points into your calibration data
    • continue to acquire more samples until happy with calibration
  • Press [p] key to finish calibration, save to file, and return to experiment pause state
  • Resuming experiment will use your new calibration!
Clone this wiki locally