PsychoPy is a versatile software designed for creating and conducting experiments in psychology and neuroscience.
PsychoPy's features for experimental psychology and neuroscience research:
- Stimulus Presentation:
- Precise timing for presenting diverse stimuli types:
- Text, Images, Sounds, and Videos: presentation of static and dynamic stimuli.
- Shapes and Custom Drawings: flexibility in creating visual patterns and stimuli with precise control over properties like color, size, and position.
- Precise timing for presenting diverse stimuli types:
- Interactive Responses:
- Capture participant input via mouse clicks or keyboard responses, for measuring reaction times and accuracy.
- Integration with External Devices:
- Seamless integration with devices:
- Eye trackers, EEG systems, fMRI Scanner, brain imaging data, Response Boxes and Motion Capture Systems
- Seamless integration with devices:
Experimental paradigms (structured methodologies) used in research to investigate specific psychological or cognitive phenomena. These paradigms are designed to control variables, manipulate conditions, and measure outcomes systematically. Examples include tasks for attention, memory, perception, learning, emotion, social interaction, and neurofeedback, among others.
PsychoPy offers versatile ways to design and conduct experiments from traditional lab-based experiments to online studies:
- Builder View:
- drag-and-drop graphical interface for beginners to create experiments, ideal for quick setups without coding.
- Coder View:
- experienced users to script experiments in Python for precise control and customization, accommodating complex experimental designs.
- Standalone Scripting:
- writing Python scripts using PsychoPy libraries, useful for automation and integration into larger workflows.
- Online Studies (PsychoJS):
- running experiments in web browsers, facilitating remote data collection and accessibility across different devices.
- clone this repo & move into directory
git clone https://github.com/matsjfunke/psychopy-install-setup.git
cd psychopy-install-setup- enable the main_script.zsh
chmod 755 ./main_script.sh- activate the environment:
conda activate psychopy-env- test the activation by running test experiment:
python stroop.py-
now you're able to code psychopy in your own code editor
-
deactivate the environnment with:
conda deactivate-
Prerequisites homebrew not necessary but makes things easier Git Conda:
- on mac : brew install miniconda
- on linux / windows (https://docs.conda.io/projects/conda/en/stable/)
-
Create an folder / directory for your PsychoPy projects
mkdir your-directory-name- Clone this repo or copy the environment.yml into the directory
git clone https://github.com/matsjfunke/psychopy-install-setup.git
cp psychopy-install-setup/environment.yml path/to/your-directory-name
cd your-directory-name- Create the Environment from environment.yml
conda env create --file environment.yml- Activate the Environment
conda activate psychopy-env- start coding your own experiment