PsychoPy

From BCI2000 Wiki
Revision as of 17:36, 26 July 2019 by Dashmeetkaur (talk | contribs)
Jump to: navigation, search

PsychoPy is an open-source application using which a large number of neuroscience, psychology and psychophysics experiments can be performed.[1] This documentation described how to integrate BCI2000 in PsychoPy and its usage.

BCI2000 and PyschoPy

This section first describes the two components that are developed to remotely start BCI2000 from the PsychoPy and the second section lists the steps to follow to add the new components in the PsychoPy application.

Components

BCIStart

The component starts up the BCI2000 modules remotely. The component takes two parameters:

Path 
Path to the BCI directory
States 
States to add to the BCI2000


BCIUpdateState

Integrating BCI2000 into PyschoPy

Download the PsychoPy from the PyschoPy website.
Copy the following two folders BCIStart and BCIUpdateState in the folder {$PsychoPyHome}\psychopy\experiment\components. Open terminal and navigate to the PsychoPy home directory where setup.py resides. Run the following command in the terminal:
pip install -e . Start Psychopy application and in the builder view, under the Custom Components, you should see the two new components - BCI2000Start and BCI2000UpdateState as shown in the figure below.

Usage

References