Generating Stimuli for Neuroscience Using PsychoPy
- PMID: 19198666
- PMCID: PMC2636899
- DOI: 10.3389/neuro.11.010.2008
Generating Stimuli for Neuroscience Using PsychoPy
Abstract
PsychoPy is a software library written in Python, using OpenGL to generate very precise visual stimuli on standard personal computers. It is designed to allow the construction of as wide a variety of neuroscience experiments as possible, with the least effort. By writing scripts in standard Python syntax users can generate an enormous variety of visual and auditory stimuli and can interact with a wide range of external hardware (enabling its use in fMRI, EEG, MEG etc.). The structure of scripts is simple and intuitive. As a result, new experiments can be written very quickly, and trying to understand a previously written script is easy, even with minimal code comments. PsychoPy can also generate movies and image sequences to be used in demos or simulated neuroscience experiments. This paper describes the range of tools and stimuli that it provides and the environment in which experiments are conducted.
Keywords: EEG; MEG; Python; fMRI; neuroscience; psychophysics; software; vision.
Figures
Similar articles
-
PsychoPy--Psychophysics software in Python.J Neurosci Methods. 2007 May 15;162(1-2):8-13. doi: 10.1016/j.jneumeth.2006.11.017. Epub 2007 Jan 23. J Neurosci Methods. 2007. PMID: 17254636 Free PMC article.
-
PsychoPy2: Experiments in behavior made easy.Behav Res Methods. 2019 Feb;51(1):195-203. doi: 10.3758/s13428-018-01193-y. Behav Res Methods. 2019. PMID: 30734206 Free PMC article.
-
NeuroPycon: An open-source python toolbox for fast multi-modal and reproducible brain connectivity pipelines.Neuroimage. 2020 Oct 1;219:117020. doi: 10.1016/j.neuroimage.2020.117020. Epub 2020 Jun 6. Neuroimage. 2020. PMID: 32522662
-
A framework for streamlining research workflow in neuroscience and psychology.Front Neuroinform. 2014 Jan 17;7:52. doi: 10.3389/fninf.2013.00052. eCollection 2013. Front Neuroinform. 2014. PMID: 24478691 Free PMC article. Review.
-
MEG and EEG data analysis with MNE-Python.Front Neurosci. 2013 Dec 26;7:267. doi: 10.3389/fnins.2013.00267. eCollection 2013 Dec 26. Front Neurosci. 2013. PMID: 24431986 Free PMC article.
Cited by
-
Sleep after practice reduces the attentional blink.Atten Percept Psychophys. 2015 Aug;77(6):1945-54. doi: 10.3758/s13414-015-0912-7. Atten Percept Psychophys. 2015. PMID: 25911156 Free PMC article.
-
The orbitofrontal cortex spontaneously encodes food health and contains more distinct representations for foods highest in tastiness.Soc Cogn Affect Neurosci. 2021 Aug 5;16(8):816-826. doi: 10.1093/scan/nsaa083. Soc Cogn Affect Neurosci. 2021. PMID: 32613228 Free PMC article.
-
Sex differences in high-level appreciation of automobile design-evoked gamma broadband synchronization.Sci Rep. 2020 Jun 17;10(1):9797. doi: 10.1038/s41598-020-66515-7. Sci Rep. 2020. PMID: 32555214 Free PMC article.
-
Factors affecting crowded acuity: eccentricity and contrast.Optom Vis Sci. 2013 Jul;90(7):628-38. doi: 10.1097/OPX.0b013e31829908a4. Optom Vis Sci. 2013. PMID: 23770657 Free PMC article.
-
The effect of action contingency on social perception is independent of person-like appearance and is related to deactivation of the frontal component of the self-agency network.Sci Rep. 2022 Oct 15;12(1):17326. doi: 10.1038/s41598-022-22278-x. Sci Rep. 2022. PMID: 36243835 Free PMC article.
References
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources
Research Materials
