Auditory psychophysics using Python and Psychopy - (Video 8 Randomising stimulus windows)
Автор: garrea01
Загружено: 2019-04-01
Просмотров: 625
Описание:
In this series we will make a python program to conduct an auditory psychophysics experiment.To do these experiments we will also use psychopy to control what the subjects sees and to control the sound stimulus. We will base our experiments very loosely on a research paper by Tan et al. (2008) (doi: 10.1016/j.heares.2008.04.003) for which I was a participant.
In our experiment we will use a 2-Alternative-Forced-Choice (2AFC) or a 2-Interval-Forced-Choice (2-IFC) task to estimate threshold in our subjects. In other words, our subject has to choose one of the two options, they can not say -’I don’t know’ (that would be a 3 AFC) In order to make a 2AFC we will need to randomise the time-window in which our stimulus is played. If we do not do this, then our subject will quickly realise that the stimulus is only in 1 of the windows and respond in this condition. We will use a simple numpy.random.randint(2, size=no_trials) to generate a random list containing 0’s and 1’s which we will then index in our main program loop. We will also record the stimulus position (0 = 1st window, 1 = 2nd window) in our save file.
Disclaimer.
This is not designed to be a complete python programming course, however it will be necessary to touch on different aspects of python programming as we learn to generate and create a psychophysics experiment.
Software used in these videos
Python (for windows) : http://python.org
Psychopy: http://psychopy.org
Audacity: https://www.audacityteam.org
Atom Editor: http://atom.io
I hope these videos are helpful.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: