Get Free Shipping on orders over $79
Eye-Tracking with Python and Pylink - Zhiguo Wang

Eye-Tracking with Python and Pylink

By: Zhiguo Wang

Hardcover | 27 November 2021

At a Glance

Hardcover


$179.75

or 4 interest-free payments of $44.94 with

 or 

Ships in 5 to 7 business days

Preface 5Chapter 1 A gentle introduction to Python 7Install Python 7Python modules 8Python shell 9Script editors 11Data types 12Numbers 12Strings 12List 14Tuple 15Sets 16Dictionary 16Booleans 17Operators 17Data type conversion 18Control flow 19if statement 19for statement 20while statement 21More on looping 22List comprehension 22Functions 23Output 25Output formatting 25Files 26Modules 28Choose a library to create your "video games" 29Where to go from here 29Chapter 2 Building experiments with PsychoPy 31Install PsychoPy 31PsychoPy Coder 321Open a window 34Screen units 34Monitor 36Window types 37Gamma 37Vertical blanking 38Call on flip 39Screen capture 39Visual stimuli 40Shapes 40GratingStim 42TextStim 43Font and font files 44Right-to-left text 44Wrap width 45Non-ASCII characters 45Aperture 45Mouse and keyboard 47Mouse 47Keyboard 48Register keyboard events with the event module 49Register keyboard events with the ioHub module 49Register keyboard events with PsychHID 50Trial control 51A real example: Simon effect 54Chapter 3 Building experiments with Pygame 59Install Pygame 60Display 61Events 63Draw 65Text 66Image and sound 68A real example: Posner cueing task 69Chapter 4 Getting to know Pylink 76A brief introduction to eye-tracking 76Install Pylink 78An overview of an eye-tracking experiment 78Connect to the tracker 80Open a camera setup / calibration screen 812Configure the tracker 81Open an EDF file 82Calibration 82Data recording 82Retrieve the EDF data file 83Disconnect from the tracker 83A real example: Free viewing 83Calibration graphics 86Idle mode 86EyeLink Host commands 86Preamble text in EDF 87Record status message 87Drift-check/drift-correction 87Logging messages 88Chapter 5 Preparing scripts for analysis and visualization in Data Viewer 90Trial segmentation 91Trial variables 93Interest Areas 95Background graphics 97Size of the screen 97Image 97Video 98Simple drawing 99Draw list file 101Target position 102Examples in PsychoPy 102The Stroop task 102Custom graphics for calibration 106The DISPLAY_COORDS message 107The TRIALID and TRIAL_RESULT messages 107Record status message 107Background graphics: the IMGLOAD message 107Trial variables messages 107Messages marking critical trial events 108Video playback 108Pursuit task 113Chapter 6 Retrieving gaze data over the link 119Samples and events 119Retrieving sample data 1213Commands for sample retrieval 121Example in PsychoPy: Gaze-contingent window 124Retrieving eye events 127Commands for event retrieval 127Example in PsychoPy: Fixation trigger 133Recording playback 136Chapter 7 Advanced Pylink Functions 141Drawing to the Host PC 141Option 1: Using the draw commands 141Option 2: Sending images to the Host 142Option 3:

More in Philosophy of The Mind

Bright Shining : how grace changes everything - Julia Baird

RRP $34.99

$28.75

18%
OFF
Manifest - Roxie Nafousi

Hardcover

RRP $32.99

$26.99

18%
OFF
All Things Are Full of Gods : The Mysteries of Mind and Life - David Bentley Hart
Plain Life : On thinking, feeling and deciding - Antonia Pont

RRP $34.99

$29.99

14%
OFF
Beyond Good and Evil : Penguin Classics - Friedrich Nietzsche

RRP $17.99

$16.75

Other Minds : The Octopus and the Evolution of Intelligent Life - Peter Godfrey-Smith
Stalking the Wild Pendulum : On the Mechanics of Consciousness - Itzhak Bentov
The Journey : Big Panda and Tiny Dragon - James Norbury

RRP $35.00

$28.75

18%
OFF
Meditations : The Annotated Edition - Marcus Aurelius

RRP $49.99

$37.75

24%
OFF
Beyond Good and Evil : Design by Coralie Bickford-Smith - Friedrich Nietzsche
Inner Engineering : A Yogi's Guide to Joy - Sadhguru

RRP $44.99

$35.75

21%
OFF
The Wild Unknown Pocket Archetypes Deck : The Wild Unknown - Kim Krans
Rationality : What It Is, Why It Seems Scarce, Why It Matters - Steven Pinker