User Tools

Site Tools


muse_software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
muse_software [2019/04/20 06:24] jtkorbmuse_software [2019/04/20 10:40] jtkorb
Line 1: Line 1:
-<WRAP center round important 60%> 
-\\ 
-**Under Construction!** 
-</WRAP> 
- 
 ====== Muse Software ====== ====== Muse Software ======
  
 This page describes my software setup to communicate with the [[https://choosemuse.com/|Muse]] brain-sensing headband. This page describes my software setup to communicate with the [[https://choosemuse.com/|Muse]] brain-sensing headband.
 +
 +<WRAP center round info 40%>
 +These instructions have only been lightly tested.
 +</WRAP>
 +
  
 ===== Overview ===== ===== Overview =====
Line 15: Line 15:
  
   * Mac OS Mojave (10.14.3)   * Mac OS Mojave (10.14.3)
-  * Default installation of Python 2.7 will work +  * Default Python 2.7, but Python 3.preferred
-  * Python 3.7 is preferred+
  
-===== Additional Software Needed to Install Python 3 =====+===== To Install Python 3 =====
  
-  * XCode Command Line Tools +These instructions are based largely on [[https://docs.python-guide.org/starting/install3/osx/|Installing Python 3 on Mac OS X]] from [[https://docs.python-guide.org/|The Hitcher's Guide to Python]].
-  * Homebrew((I am also using [[https://guide.macports.org/|Mac Ports]] to manage some software packages, which may cause conflicts with Homebrew.))+
  
-===== Setup Virtual Environment =====+Open a terminal (e.g., iTerm) to run these commands.
  
-Open a terminal (e.g., iTermto run these commands.  Create a directory, e.g., muse, and cd into it.+  * Install XCode Command Line Tools following instructions at [[https://developer.apple.com/download/more/|More Downloads for Apple Developers]]. 
 +  * Install [[https://brew.sh/|Homebrew]]((I am also using [[https://guide.macports.org/|Mac Ports]] to manage some software packageswhich may cause conflicts with Homebrew.)) using the command: 
 + 
 +  $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 
 + 
 +  * Adjust PATH, if necessary((Set ''export PATH="/usr/local/opt/python/libexec/bin:$PATH"'' in your Bash startup file, e.g., ''.bash_profile''.)). 
 +  * Install Python using this command:((Python 3 is installed by default with this command.)) 
 + 
 +  $ brew install python 
 +   
 +===== Setup Virtual Environment =====
  
   $ mkdir muse   $ mkdir muse
Line 37: Line 45:
 ==== Python 3 ==== ==== Python 3 ====
  
-  $ python3 -m venv py3+  $ virtualenv -p python3 py3
   $ source py3/bin/activate   $ source py3/bin/activate
  
Line 47: Line 55:
      
      
-===== Install and Run in Muse LSL Streamer and Viewer =====+===== Install Muse LSL and Run a Streamer and Viewer =====
  
-Muse software is [[https://github.com/alexandrebarachant/muse-lsl|Muse LSL]].  +Muse software is described at [[https://github.com/alexandrebarachant/muse-lsl|Muse LSL]].  
  
   $ pip install muselsl   $ pip install muselsl
  
-Plug in the Bluetooth USB (BLED112) dongle and turn on your Muse headband before launching muselsl.+Plug in the Bluetooth USB (BLED112) dongle and turn on your Muse headband before running ''muselsl''.
  
   $ muselsl stream   $ muselsl stream
Line 88: Line 96:
   $ pip install muselsl --user   $ pip install muselsl --user
      
-===== Useful Resources ===== 
- 
-* [[https://docs.python-guide.org/starting/install3/osx/|Installing Python 3 on Mac OS X]] from [[https://docs.python-guide.org/|The Hitcher's Guide to Python]] 
  
muse_software.txt · Last modified: 2019/04/23 05:29 by jtkorb