Description |
1 online resource (232 pages) |
Contents |
Cover; Half Title; Title Page; Copyright Page; Table of Contents; List of tables and figures; About this book; About Python; About the author; Acknowledgements; 1 Python; Installation; Interpreter; Editor; 2 Variable types; Numbers; Assigning variables; Booleans; Letters; Sets; Classes; Functions; Make some noise; 3 Creating and presenting stimuli; Scripts; The display; Running scripts; Timing; Screens; Advanced: creating patches; Comments; 4 Processing responses; Are peripherals accurate enough?; Keyboard input; If statements; While loops; Make some noise; 5 Scripting an experiment |
|
ConstantsCreating Screens; Instructions Screen; A single trial; For loop; Logging values; Display timing; Randomisation; Make some noise; 6 Analysing behavioural data; Analysis plan; Extracting data; Selecting data; Averaging data; Plotting data; Combining datasets; Statistical testing; 7 Analysing traces; Introduction; Read eye-tracker data; Plot your first trace; Averaging traces; 8 Eye tracking; Introduction; Creating an eye-tracking experiment; Processing gaze data; 9 Getting help; Appendix: Code listing; References; Index |
Summary |
Provides researchers without prior programming experience with the knowledge they need to independently script experiments and analyses in Python. The skills it offers include: how to display stimuli on a computer screen; how to get input from peripherals (e.g. keyboard, mouse) and specialised equipment (e.g. eye trackers); how to log data; and how to control timing. In addition, it shows readers the basic principles of data analysis applied to behavioural data, and the more advanced techniques required to analyse trace data (e.g. pupil size) and gaze data. Written informally and accessibly, the book deliberately focuses on the parts of Python that are relevant to experimental psychologists and cognitive neuroscientists. It is also supported by a companion website where you will find colour versions of the figures, along with example stimuli, datasets and scripts, and a portable Windows installation of Python |
Notes |
Print version record |
Subject |
Psychology, Experimental -- Data processing
|
|
Psychology, Experimental -- Research -- Computer programs
|
|
Python (Computer program language)
|
|
Psychology, Experimental -- Data processing
|
|
Python (Computer program language)
|
Form |
Electronic book
|
ISBN |
9781317206439 |
|
1317206436 |
|