I've got an alternated way to install OpenElectrophy into your Linux systems.

Here's another way for install. Just do as below;



 

1. Open a ternimal


2. sudo apt-get install python python-scipy python-numpy python-matplotlib python-qt4 python-mysqldb python-pip python-psycopg2 python-dev gfortran python-pywt python-sqlalchemy python-migrate python-tables python-joblib  python-guidata python-sklearn python-pandas python-xlwt python-joblib cython


3. sudo pip install quantities neo pyqtgraph


4. sudo pip OpenElectrophy


5. sudo apt-get install git


6. sudo git clone https://git@github.com/OpenElectrophy/OpenElectrophy.git


7. cd OpenElectrophy 


8. sudo apt-get install python-mdp python-guiqwt


9. sudo python setup.py install


10. startOpenElectrophy.py (don't miss the capitals!)




OMG! Procedures are less than that of 1st version!

 

Now, you finally can say. "LOL"


The funniest thing is; I mixed procedures of LINUX and MAC.


Have fun! 

If you are a neuroscientist or a man(or woman) who are doing signal analysis, you may heard of this Openelectrophy.

In neuroscience, especially in electrophysiology, always needs spike sorting, but the softwares that are available in store is really expensive. So, some people have thier own experiences of searching a free one.

This Openelectrophy is open source software. Yes! it is free.


But don't say "LOL" now. The perfect time is not coming up. You need so many trian-and-errors to install this.


This post is about how to install this bullsh*t in your Linux system.


the general install procedures is like this;


 

1. Open a ternimal


2. sudo apt-get install python python-scipy python-numpy python-matplotlib python-qt4 python-mysqldb python-pip python-psycopg2 python-dev gfortran python-pywt python-sqlalchemy python-migrate python-tables python-joblib  python-guidata python-sklearn python-pandas python-xlwt python-joblib cython


3. sudo pip install quantities neo pyqtgraph


4. sudo pip OpenElectrophy


5. sudo apt-get install git


6. git clone git@github.com:OpenElectrophy/OpenElectrophy.git







When you try to the procedure number 6, you can see this error message like this: git clone permission denied (publickey) fatal could not read from remote repository.


Here's the solution:


 

6-1. sudo apt-get install subversion


6-2. svn co https://neuralensemble.org/svn/OpenElectrophy/




Now, you did it! The OpenElectrophy is now installed in you computer!


Let's go for run!


 

7. cd OpenElectrophy 


8. cd trunk


9. sudo apt-get install python-mdp python-guiqwt


10. sudo python setup.py install


11. startOpenElectrophy.py (don't miss the capitals!)




Now, you finally can say. "LOL"


The funniest thing is; I mixed procedures of LINUX and MAC.


Have fun!



* 만약 오픈일렉트로피 설치를 위해 검색을 통해 이 포스트를 보셨다면, 이 페이지에 링크되어 있는 한국어 문서를 확인하시기 바랍니다.

(If you're Korean or can read Korean, move to Korean version of this article. click below.)


-> 한국어 바로 가기 (Click to move to Korean page) (not supported in currently. 아직 만들어지지 않았습니다.)



(Snapshot of OpenElectrophy in my MAC)


OpenElectrophy could be a such an attractive tool for who are in Medicine, Biology and any related areas. Most of all, you could be interested in this because it is "Free".

Openelectrophy is a open source tool which makes you analyze data from electrophysiological studies easily. Furthermore, It is "Free". Even there are many tools like offline sorter and NEX (neuroexplorer) , but their price is kind of Oh my GOD.

Plus, the one of advantages in this tool is that it can be installed into Windows, LINUX and MAC.

So, you will totally crazy about Openelectrophy.


Recently, I installed this into my MAC but there were so many difficulties in installing openelectrophy. Although official website gives us how to install this into MACs, it's not enough for us, MAC users.

So, I'll tell you some tips for you.


First, if you decide to install openelectrophy into your MAC, you must check this:

Unfortunately, openelectrophy is not working in OSX Lion and 64bits system. So, you should make Linux partition in your MAC or make a virtual machine for Linux.

I have 64bits MAC air with Lion, 64bits MAC with snow leopard, 32bits MAC with snow leopard, and 64bits Windows machin with virtural machine for Linux. Among these systems, I can install openelectrophy into 32bits MAC and Windows machine.

Second, If your system is 32bits with snow leopard, I can give you some options to install this:

1. Make a partition for Windows, and buy a "commercial one". like offline sorter or NEX.

2. Instsall a virtual machine for Windows, and buy a "commercial one". like you already now.. :)

3. Make a partition or install a virtual machine for Linux, and install openelectrophy.

(OSX and Linux have the same origin, UNIX. But the install procedure is perfectly different. Plus, Install in Linux is perfectly easy and fast.)

4. Try it. But you must remind. I spent 3 weeks for this bad guy.


If you choose number 4, you should hold your patience tightly. Never throw away your calm and peaceful mind.


Before installation, you should remember some technics below:

1. Don't forget "sudo". Must enter "sudo" in any case.
2. tar cvzf <filename.tar.gz>
3. You must enter "sudo python configure.py", "sudo make" and "sudo make install".
4. Keep this in your mind: "sudo python setup.py build" and "sudo python setup.py install"


OpenElectrophy is consisted python and dependancies. So, you must install Xcode first, and install python 2.7 and depedancies before installing Openelectrophy. However, dependancies will make you in trouble because dependancies are really, really really dependant. They depend on each other, or your patience.

Actually, In http://packages.python.org/OpenElectrophy/installation.html, you can get the information on installation and you can install python and dependancies using this information, but it's not all.

To install openelectrophy, you should install most of dependancies directly. Even it needs you to get dependancy files.

First, In http://developer.apple.com, register for being a developer. It doesn't need any fee. Download Xcode and Install into your MAC.

Second, In http://www.macports.org, Download macports and instsall.

Third, In r.research.att.com/tools/, Download and install GNU fotran complier.

Fourth, open terminal. and excute below:

$ sudo port selfupdate
$ sudo port install qt4-mac qwt52 py27-numpy py27-scipy py27-matplotlib py27-pyqt4 
py27-sqlalchemy py27-mysql py27
-distribute py27-pip py27-ipython


Specifically, in second command line, it means that install dependancies for openelectrophy
at once. Actually, it works
well, but openelectrophy can't recognize them. So, you'll install
most of them manually but not this time. Go to forth.

Besides, install qt4-mac needs too much time to install itself. So, don't wait. Just go home
(if you're at work), or Sleep.

Not take a nap.

Fifth, In terminal,

$ sudo port select --set python python27
$ sudo port select --set ipython ipython27
$ sudo pip-2.7 install http://sourceforge.net/projects/mdp-toolkit/files/mdp-toolkit/3.1/MDP-3.1.tar.gz/download
$ sudo pip-2.7 install http://prdownloads.sourceforge.net/pyqwt/PyQwt-5.2.0.tar.gz?download

Sixth, In terminal,

$ svn co https://neuralensemble.org/svn/OpenElectrophy/

Seventh, Now. It's your turn.

In google.com, find and get source code or dmg file of SIP, numpy, scipy, matplolib, sqlalchemy, distribute, MDP toolkit,guiqwt, Scikits.learn, Otwt, Qt4, Setuptools, guidata and Pyqwt5. And Install them. (I recommend you to Instsall orderly.)
 
If the file is .tar.gz, unzip it using "$ tar cvzf <filename.tar.gz>".
After unzipping, If you find configure.py in unzipped files, Do "$ sudo python configure.py", "$ sudo make" and "$ sudo make install"
Or, you find setup.py, Do "$ sudo python setup.py build" and "$ sudo python setup.py install"

If the file that you downloaded is .dmg, just install.

Remember, it need too much time. In my case, I wasted up whole three weeks....

Eighth, Do "$ cd OpenElectrophy/trunk" and "$ sudo python setup.py install"

But in this step, you'll experience that openelectrophy needs too much modules. The modules is dependancies. Get directly and install.
Most of these cases, openelectrophy needs qwt5, and you should install pyqwt5. not qwt. However, pyqwt5 will not be installed at once. So, do "$ sudo configure.py", "$ sudo qmake", "$ sudo make" and "$ sudo make install" repeatly. At some time, or some day... finally you can install this bad guy.

Finally, In terminal,

Do "$ startOpenElectrophy.py"


Then, you can see the openelectrophy at finally on your desktop.


Before ending,

In 64bits MACs, SIP doesn't support the 64bits mode yet. So, in 64bits MACs, you can't install openelectrophy.
In MAC with Lion, the structure between snow leopard and Lion are slightly different. So, every dependancies are installed well, but openelectrophy can't find dependancies well.

Nerverthless, openelectrophy is as much as possible to threat other commercial ones because it had a powerful advantage, open source. So, openelectrophy could be more powerful than that of present, and it could be getting more attrative for many people who are in related areas.

Good Luck :)
 

P.S. Was it helpful for you? If it does, please click the button with picture of hand below :)



+ Recent posts