Skip to content

Spike LFP visualizer

Hannah Wirtshafter edited this page May 28, 2015 · 5 revisions

1. Install freeGLUT and glew using

 sudo apt-get install libXmu-dev libXi-dev dos2unix git wget
 sudo apt-get install libgl1-mesa-dev
 sudo apt-get install freeglut3 freeglut3-dev
 sudo apt-get install binutils-gold
 sudo apt-get install libglew-dev

You need openGL version 2+ in order to run the spike viewer. As far as I can tell this isn't compatible with Centos 5 so you will likely need to compile and run on a different machine than you are running ARTE. The code above is for ubuntu

2. The build file for the spike visualizer is:

 arte-backend/scripts/single_tetrode/spkLinuxBuild.sh

the build file creates an executable called arteSpikeViewer in the same folder

to test the spike viewer, run the SpikeViewer and arte-mock-data executable. make sure your SpikeViewer is set to get data from port 5228. (the data file is not uploaded on github, so find one somewhere)

arte-backend/scripts/single_tetrode/arte-mock-data --format ArteOld --file path/to/data.tt --ip 127.0.0.1 --localport 5227 --destport 5228 --startTime 4492

3. Run LFP visualizer. Compile using:

arte-backend/scripts/single_tetrode/lfpLinuxBuild.sh 

this creates an executable named arteLfpViewer in the same folder