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
Last revisionBoth sides next revision
muse_software [2019/04/20 10:04] jtkorbmuse_software [2019/04/23 05:27] – [Some Depended Packages Don't get Installed] 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, but 3.x is preferred+  * Default Python 2.7, but Python 3.x preferred
  
 ===== To Install Python 3 ===== ===== To Install Python 3 =====
  
-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]]+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]].
  
-  * Install XCode Command Line Tools [[https://developer.apple.com/download/more/|More Downloads for Apple Developers]] +Open a terminal (e.g., iTerm) to run these commands.
-  * Install 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 =====+  * 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 packages, which may cause conflicts with Homebrew.)) using the command:
  
-Open a terminal (e.g., iTermto run these commands.  Create a directory, e.g., muse, and cd into it.+  $ /usr/bin/ruby -"$(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 38: Line 45:
 ==== Python 3 ==== ==== Python 3 ====
  
-  $ python3 -m venv py3+  $ virtualenv -p python3 py3
   $ source py3/bin/activate   $ source py3/bin/activate
  
Line 48: 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 77: Line 84:
   $ pip install --ignore-installed scipy   $ pip install --ignore-installed scipy
      
-==== Some Depended Packages Don't get Installed ====+==== Some Dependent Packages Don't get Installed ====
  
 If when installing scipy, it complains that matplotlib is not installed, then install it directly: If when installing scipy, it complains that matplotlib is not installed, then install it directly:
Line 89: Line 96:
   $ pip install muselsl --user   $ pip install muselsl --user
      
-===== Useful Resources ===== 
- 
- 
  
muse_software.txt · Last modified: 2019/04/23 05:29 by jtkorb