0% found this document useful (0 votes)
143 views2 pages

Muse and PsychoPy

The document provides instructions for synchronizing Muse EEG data collection with PsychoPy experiments. It details installing Anaconda, Muse software like BlueMuse and DawsonMuse, and adding code to PsychoPy experiments to manage markers. Recordings are then processed in Colab notebooks. Additional tips are provided for running PsychoPy using Anaconda on Macs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views2 pages

Muse and PsychoPy

The document provides instructions for synchronizing Muse EEG data collection with PsychoPy experiments. It details installing Anaconda, Muse software like BlueMuse and DawsonMuse, and adding code to PsychoPy experiments to manage markers. Recordings are then processed in Colab notebooks. Additional tips are provided for running PsychoPy using Anaconda on Macs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

General lines to run an experiment with Muse and PsychoPy

 Synchronization of software: one needs to synchronize the streaming recorded by the


Muse (EEG) with the behavioral experiment recorded by PsychoPy. More specifically,
one should put markers on the EEG recording to indicate precisely when the stimuli
were presented. One marker corresponds to one stimulus. Different colors of markers
indicate different conditions.
 Since PsychoPy is written in Python, we need a Python environment that will be able to
combine Muse with PsychoPy. We will use Anaconda.
 We also need to add few Python program lines in the PsychoPy program to manage the
markers and other parts of the process.
 This is all detailed in instructions_Muse_PsychoPy.pdf
 Once the recordings are done, we will use a Colab notebook (on Google) to process the
data. More on this when we get there.
Steps:
1) Install Anaconda from https://www.anaconda.com/products/distribution
Select environment.

2) Install BlueMuse (on Windows machine only) from https://github.com/kowalej/BlueMuse


In settings, Primary Timestamp Format, choose Native LSL Local Clock

3) Dawson Muse project: from https://github.com/raharison-toky/dawsonmuse


Download in new directory that you may call DawsonMuse (not in your download folder)

In Anaconda environment and in the directory you just created,


> pip install muselsl
> pip install -e . (don’t forget “ .” at the end!)

4) Skip 2.2 in instructions from Toky and go to

2.3 How to run ERP experiments with PsychoPy with the launcher
Note: launcher.py is downloaded with Dawsonmuse

Note: when doing a recording with Muse, disconnect your computer from school network.
PsychoPy on Macs
https://discourse.psychopy.org/t/running-psychopy-using-anaconda-mac/27243

Feb 7, 2022

Hi all,
here is a simple solution for installing PsychoPy using Anaconda, since PsychoPy does not
seem to start if you simply install with conda and the *.yml template on OS X Monterey. I
was struggling several days with this, the problem seems to be wxpython.

For me, it worked to:

1. Create conda enviroment an activate it:

> conda create -n psychopy python=3.6


> conda activate psychopy

1. Now in the conda env install psychopy using pip:

> pip install psychopy

1. The problem sseems to be wxpython. For running a GUI that uses wxpython (as
is the case with PsychoPy) you need pythonw running. For this, installing the
“python.app” via conda is sufficient.

> conda install python.app

1. Now, when this has been successfully installed you can start PsychoPy:

> psychopy

Cheers,
Sven.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy