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:
This title is in stock with our Australian supplier and should arrive at our Sydney warehouse within 2 - 3 weeks of you placing an order.
Once received into our warehouse we will despatch it to you with a Shipping Notification which includes online tracking.
Please check the estimated delivery times below for your region, for after your order is despatched from our warehouse:
ACT Metro: 2 working days
NSW Metro: 2 working days
NSW Rural: 2-3 working days
NSW Remote: 2-5 working days
NT Metro: 3-6 working days
NT Remote: 4-10 working days
QLD Metro: 2-4 working days
QLD Rural: 2-5 working days
QLD Remote: 2-7 working days
SA Metro: 2-5 working days
SA Rural: 3-6 working days
SA Remote: 3-7 working days
TAS Metro: 3-6 working days
TAS Rural: 3-6 working days
VIC Metro: 2-3 working days
VIC Rural: 2-4 working days
VIC Remote: 2-5 working days
WA Metro: 3-6 working days
WA Rural: 4-8 working days
WA Remote: 4-12 working days
Share This Book: