200145 SE Anwendungsseminar: Geist und Gehirn (2020W)
Programming psychological experiments in Python
Continuous assessment of course work
Labels
Anwendungsseminare können nur fürs Pflichtmodul B verwendet werden! Eine Verwendung fürs Modul A4 Freie Fächer ist nicht möglich.
Registration/Deregistration
Note: The time of your registration within the registration period has no effect on the allocation of places (no first come, first served).
- Registration is open from Tu 01.09.2020 07:00 to Th 24.09.2020 07:00
- Deregistration possible until Fr 02.10.2020 07:00
Details
max. 20 participants
Language: English
Lecturers
Classes (iCal) - next class is marked with N
- Tuesday 06.10. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 13.10. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 20.10. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 27.10. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 03.11. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 10.11. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 17.11. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 24.11. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 01.12. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 15.12. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 12.01. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 19.01. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
- Tuesday 26.01. 13:15 - 14:45 Hörsaal C Psychologie, NIG 6.Stock A0618
Information
Aims, contents and method of the course
Assessment and permitted materials
The grading will be based on the writing of a relatively simple PsychoPy script for experimental presentation. Any sort of material or help may be used for writing your script, but it has to be written by you (and so of course you have to know what each function or line of code does). Your script will have to be presented shortly (e.g. 3-5 min) during one of the last lessons, after which you will get some feedback; the final code can be submitted anytime toward the end of the semester (deadline will be specified in due time).Syllabus (approx.):
1. General introduction to Python. Main variable types, basic commands.
2. The random module. Lists, tuples, strings, and related methods.
3. IF – ELSE – conditional statements, FOR and WHILE loops.
4. Dictionary variables. Defining functions. Local and global variables.
5. Handling files and storing data.
6. Practice: writing small scripts for small games.
7. Exception handling. Classes. Basic data processing and analysis.
8. Introduction to PsychoPy. Input through GUI and screen settings.
9. Presenting stimuli. Timing: the core module.
10. Monitoring and recording input: keyboard and mouse.
11. R statistics intro.
12.-15. Script presentations (& more R, if there is time)
1. General introduction to Python. Main variable types, basic commands.
2. The random module. Lists, tuples, strings, and related methods.
3. IF – ELSE – conditional statements, FOR and WHILE loops.
4. Dictionary variables. Defining functions. Local and global variables.
5. Handling files and storing data.
6. Practice: writing small scripts for small games.
7. Exception handling. Classes. Basic data processing and analysis.
8. Introduction to PsychoPy. Input through GUI and screen settings.
9. Presenting stimuli. Timing: the core module.
10. Monitoring and recording input: keyboard and mouse.
11. R statistics intro.
12.-15. Script presentations (& more R, if there is time)
Minimum requirements and assessment criteria
The PsychoPy script will have to be written at the end of the course, and it may present any sort of well-known or totally original psychological task (e.g. an example taken from an article or otherwise a task for your own upcoming thesis).However, it should include the following elements:
- Welcome screen and instructions (~10%)
- Presentation of stimuli according to the given task - including proper generation of possible items (or trial details) to be presented and possibly a balanced randomization of sequence order (~25%)
- Recording of responses (~20%)
- Feedback about the performance (extra)
- End screen (~5%)
- Output properly saved in a file, with all relevant data per each trial (~20%)
- Automatic preprocessing and/or brief pre-analysis of results (extra)Grades approx.:
>=50%: 4, >=63%: 3, >=75%: 2, >=87%: 1The percentages are just illustrative of the importance, there will be no detailed evaluation of each part.Alternative tasks may be possible (e.g. if you want to do some elaborate data analysis instead), but in that case first discuss it with me.After most lessons, there will be some small script to write as homework.
- Welcome screen and instructions (~10%)
- Presentation of stimuli according to the given task - including proper generation of possible items (or trial details) to be presented and possibly a balanced randomization of sequence order (~25%)
- Recording of responses (~20%)
- Feedback about the performance (extra)
- End screen (~5%)
- Output properly saved in a file, with all relevant data per each trial (~20%)
- Automatic preprocessing and/or brief pre-analysis of results (extra)Grades approx.:
>=50%: 4, >=63%: 3, >=75%: 2, >=87%: 1The percentages are just illustrative of the importance, there will be no detailed evaluation of each part.Alternative tasks may be possible (e.g. if you want to do some elaborate data analysis instead), but in that case first discuss it with me.After most lessons, there will be some small script to write as homework.
Examination topics
Reading list
Material will be uploaded to Moodle. There is no obligatory literature.Recommended:
Dawson, Michael. Python programming for the absolute beginner. Cengage Learning, 2010.
http://www.psychopy.org/documentation.html
https://discourse.psychopy.org/
https://stackoverflow.com/
https://repl.it/languages/Python3
Dawson, Michael. Python programming for the absolute beginner. Cengage Learning, 2010.
http://www.psychopy.org/documentation.html
https://discourse.psychopy.org/
https://stackoverflow.com/
https://repl.it/languages/Python3
Association in the course directory
Last modified: Mo 07.09.2020 18:52
The first lesson (October 6, 13:15-14:45) will be held in person in HS C (NIG 6.Stock A0618 A0618). If you cannot come to this first lesson (but still want to participate in the course), please send us an email in advance! (In the event of a lockdown, this meeting will also be held online: we'll inform you about the precise procedure in due time, via email.) All the rest of the lessons will be held in "webinar" (online meetings) format via BigBlueButton.