This is an old revision of the document!
Table of Contents
Under Construction!
Muse Software
This page describes my software setup to communicate with the Muse brain-sensing headband.
Overview
I am running the Muse software on a MacBook Pro (Retina, 13-inch, Early 2015).
Base software environment:
- Mac OS Mojave (10.14.3)
- Default installation of Python 2.7 will work
- Python 3.7 is preferred
Additional Software Needed to Install Python 3
- XCode Command Line Tools
- Homebrew1)
Setup Virtual Environment
Open a terminal (e.g., iTerm) to run these commands. Create a directory, e.g., muse, and cd into it.
$ mkdir muse $ cd muse
Python 2
$ virtualenv -p python2 py2 $ source py2/bin/activate
Python 3
$ python3 -m venv py3 $ source py3/bin/activate
When Done
When done working with muse, either close the terminal window, or deactivate the virtual environment with…
$ deactivate
Install and Run in Muse LSL Streamer and Viewer
Muse software is Muse LSL.
$ pip install muselsl
Plug in the Bluetooth USB (BLED112) dongle and turn on your Muse headband before launching muselsl.
$ muselsl stream
Open another terminal window, switch to the install directory, and run the visualizer:
$ cd muse $ muselsl view -v 2
What Could Go Wrong?
Missing Packages
If some packages show up as missing when installing muselsl, install them manually:
$ pip install nose coverage
Uninstalling a Distutils Package
If an old version of a package (e.g., scipy) was installed using (the old) distutils, the new version might have problems uninstalling it. In that case, use the –ignore-installed
option:
$ pip install --ignore-installed scipy
Some Depended Packages Don't get Installed
If when installing scipy, it complains that matplotlib is not installed, then install it directly:
$ pip install matplotlib
Permission Denied
If some packages cannot be installed in the virtual environment (or in the system environment), use –user
to install them locally (in the user's ~/Library folder):
$ pip install muselsl --user